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.
2 parents 34b1705 + 0a01f21 commit 09dc5e4Copy full SHA for 09dc5e4
Guides/Suffix.md
@@ -9,7 +9,7 @@ collection until predicate returns `false` and skipping the remaining elements.
9
This example uses `suffix(while: )` to iterate through collection of integers
10
from the end until the predicate returns false, in this case when `$0 <= 5`
11
```swift
12
-(0...10).suffix(while: { $0 > 5 } // == [6,7,8,9,10]
+(0...10).suffix(while: { $0 > 5 }) // == [6,7,8,9,10]
13
```
14
15
## Detailed Design
0 commit comments