Fix mistake where perm was used in example instead of combo (#10)

This commit is contained in:
Austin Conlon authored and GitHub committed 2020-10-09 09:38:52 -05:00
1 parent 60d653f008
commit 7188edf9c0
1 file changed
+1 -1
+1 -1
View File
@@ -29,7 +29,7 @@ collection are always treated as separate values in the resulting combinations:
```swift
let numbers2 = [20, 10, 10]
for combo in numbers2.combinations(ofCount: 2) {
print(perm)
print(combo)
}
// [20, 10]
// [20, 10]