We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6df6133 commit 4a194caCopy full SHA for 4a194ca
Sources/Algorithms/Stride.swift
@@ -84,7 +84,7 @@ extension Stride: Collection {
84
85
public func index(after i: Index) -> Index {
86
precondition(i.base < base.endIndex, "Advancing past end index")
87
- return index(i, offsetBy: 1, limitedBy: endIndex) ?? endIndex
+ return index(i, offsetBy: 1)
88
}
89
90
public func index(
0 commit comments