Skip to content

Commit 7188edf

Browse files
authored
Fix mistake where perm was used in example instead of combo (#10)
1 parent 60d653f commit 7188edf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Guides/Combinations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ collection are always treated as separate values in the resulting combinations:
2929
```swift
3030
let numbers2 = [20, 10, 10]
3131
for combo in numbers2.combinations(ofCount: 2) {
32-
print(perm)
32+
print(combo)
3333
}
3434
// [20, 10]
3535
// [20, 10]

0 commit comments

Comments
 (0)