remove redundant limit

This commit is contained in:
Oliver Atkinson committed 2020-11-01 20:39:18 +00:00
1 parent 6df6133ab7
commit 4a194ca811
1 file changed
+1 -1
+1 -1
View File
@@ -84,7 +84,7 @@ extension Stride: Collection {
public func index(after i: Index) -> Index {
precondition(i.base < base.endIndex, "Advancing past end index")
return index(i, offsetBy: 1, limitedBy: endIndex) ?? endIndex
return index(i, offsetBy: 1)
}
public func index(