stdlib: eliminate redundant implementations of 'generate()'

Swift SVN r29617
This commit is contained in:
Dmitri Hrybenko
2015-06-24 20:41:47 +00:00
parent d396eb9772
commit 57d85f70d7
19 changed files with 2 additions and 129 deletions

View File

@@ -534,13 +534,6 @@ extension _ContiguousArrayBuffer : CollectionType {
public var endIndex: Int {
return count
}
/// Return a *generator* over the elements of this *sequence*.
///
/// - Complexity: O(1).
public func generate() -> IndexingGenerator<_ContiguousArrayBuffer> {
return IndexingGenerator(self)
}
}
extension SequenceType {