mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Eliminate a number of uses of the *Indexable protocols.
This commit is contained in:
@@ -371,7 +371,7 @@ public struct IndexSet : ReferenceConvertible, Equatable, BidirectionalCollectio
|
||||
public func intersects(integersIn range: CountableClosedRange<Element>) -> Bool { return self.intersects(integersIn: Range(range)) }
|
||||
|
||||
// MARK: -
|
||||
// Indexable
|
||||
// Collection
|
||||
|
||||
public func index(after i: Index) -> Index {
|
||||
if i.value + 1 == i.extent.upperBound {
|
||||
|
||||
Reference in New Issue
Block a user