mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Rename SequenceType.generate() to SequenceType.iterator()
This commit is contained in:
committed by
Max Moiseev
parent
2cf172160c
commit
1c0047829a
@@ -56,8 +56,8 @@ struct A<T> : MutableSliceable {
|
||||
return impl.count
|
||||
}
|
||||
|
||||
func generate() -> Array<T>.Iterator {
|
||||
return impl.generate()
|
||||
func iterator() -> Array<T>.Iterator {
|
||||
return impl.iterator()
|
||||
}
|
||||
|
||||
subscript(i: Int) -> T {
|
||||
|
||||
Reference in New Issue
Block a user