mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[stdlib] Cleanup DefaultIndices, delete dead code (#13952)
* Remove a bunch of Default(Bidirectional|RandomAccess)Indices usage from stdlib and test * Remove some DefaultRandomAccessIndices and IndexDistance usage from Foundation * Remove no-longer-used internal type in Existentials.swift * Get rid of indicesForTraversal
This commit is contained in:
@@ -22,7 +22,7 @@ public struct IndexPath : ReferenceConvertible, Equatable, Hashable, MutableColl
|
||||
public typealias ReferenceType = NSIndexPath
|
||||
public typealias Element = Int
|
||||
public typealias Index = Array<Int>.Index
|
||||
public typealias Indices = DefaultRandomAccessIndices<IndexPath>
|
||||
public typealias Indices = DefaultIndices<IndexPath>
|
||||
|
||||
fileprivate enum Storage : ExpressibleByArrayLiteral {
|
||||
typealias Element = Int
|
||||
|
||||
Reference in New Issue
Block a user