Skip to content

Commit 09dc5e4

Browse files
authored
Merge pull request #227 from CheATSlark/main
Update Suffix.md
2 parents 34b1705 + 0a01f21 commit 09dc5e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Guides/Suffix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ collection until predicate returns `false` and skipping the remaining elements.
99
This example uses `suffix(while: )` to iterate through collection of integers
1010
from the end until the predicate returns false, in this case when `$0 <= 5`
1111
```swift
12-
(0...10).suffix(while: { $0 > 5 } // == [6,7,8,9,10]
12+
(0...10).suffix(while: { $0 > 5 }) // == [6,7,8,9,10]
1313
```
1414

1515
## Detailed Design

0 commit comments

Comments
 (0)