From 7188edf9c06ad1c0d2029befcf34d00e1c012e6a Mon Sep 17 00:00:00 2001 From: Austin Conlon Date: Fri, 9 Oct 2020 07:38:52 -0700 Subject: [PATCH] Fix mistake where `perm` was used in example instead of `combo` (#10) --- Guides/Combinations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Guides/Combinations.md b/Guides/Combinations.md index af2cdff..4823a43 100644 --- a/Guides/Combinations.md +++ b/Guides/Combinations.md @@ -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]