We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 116dac1 commit ca53d0bCopy full SHA for ca53d0b
docs/GenericsManifesto.md
@@ -346,7 +346,7 @@ public struct ZipIterator<... Iterators : IteratorProtocol> : Iterator { // zer
346
public mutating func next() -> Element? {
347
if reachedEnd { return nil }
348
349
- guard let values = (iterators.next()...) { // call "next" on each of the iterators, put the results into a tuple named "values"
+ guard let values = (iterators.next()...) else { // call "next" on each of the iterators, put the results into a tuple named "values"
350
reachedEnd = true
351
return nil
352
}
0 commit comments