mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib: add tests for generic parameter names on EnumerateGenerator,
EnumerateSequence Part of rdar://21429126 Swift SVN r29629
This commit is contained in:
@@ -190,7 +190,7 @@ public func startsWith<
|
||||
/// - Note: Idiomatic usage is to call `enumerate` instead of
|
||||
/// constructing an `EnumerateGenerator` directly.
|
||||
public struct EnumerateGenerator<
|
||||
Base: GeneratorType
|
||||
Base : GeneratorType
|
||||
> : GeneratorType, SequenceType {
|
||||
/// The type of element returned by `next()`.
|
||||
public typealias Element = (index: Int, element: Base.Element)
|
||||
|
||||
Reference in New Issue
Block a user