Skip to content

Commit 87d766c

Browse files
committed
Re-do line wrap in Combinations.md
1 parent ace62d3 commit 87d766c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Guides/Combinations.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ for combo in numbers2.combinations(ofCount: 2) {
3737
```
3838

3939
The `combinations(ofCounts:)` method returns a sequence of all the different
40-
combinations of the given sizes of a collection’s elements in increasing order of size.
40+
combinations of the given sizes of a collection’s elements in increasing order
41+
of size.
4142

4243
```swift
4344
let numbers = [10, 20, 30, 40]
@@ -76,9 +77,9 @@ array at every index advancement. `Combinations` does conform to
7677

7778
### Complexity
7879

79-
Calling `combinations(ofCount:)` accesses the count of the collection, so it’s an
80-
O(1) operation for random-access collections, or an O(_n_) operation otherwise.
81-
Creating the iterator for a `Combinations` instance and each call to
80+
Calling `combinations(ofCount:)` accesses the count of the collection, so it’s
81+
an O(1) operation for random-access collections, or an O(_n_) operation
82+
otherwise. Creating the iterator for a `Combinations` instance and each call to
8283
`Combinations.Iterator.next()` is an O(_n_) operation.
8384

8485
### Naming

0 commit comments

Comments
 (0)