mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Swift 3 migration: add migration aids for EnumerateSequence
This commit is contained in:
@@ -122,3 +122,6 @@ public struct EnumeratedSequence<Base : Sequence> : Sequence {
|
||||
@available(*, unavailable, renamed="EnumeratedIterator")
|
||||
public struct EnumerateGenerator<Base : IteratorProtocol> { }
|
||||
|
||||
@available(*, unavailable, renamed="EnumeratedSequence")
|
||||
public struct EnumerateSequence<Base : Sequence> {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user