Skip to content

Commit ca53d0b

Browse files
andreanmasirojrose-apple
authored andcommitted
Fix guard-else typo (#20042)
1 parent 116dac1 commit ca53d0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/GenericsManifesto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ public struct ZipIterator<... Iterators : IteratorProtocol> : Iterator { // zer
346346
public mutating func next() -> Element? {
347347
if reachedEnd { return nil }
348348

349-
guard let values = (iterators.next()...) { // call "next" on each of the iterators, put the results into a tuple named "values"
349+
guard let values = (iterators.next()...) else { // call "next" on each of the iterators, put the results into a tuple named "values"
350350
reachedEnd = true
351351
return nil
352352
}

0 commit comments

Comments
 (0)