From d8ad13d4fbd3d9d792d6aca7446d02f692c557d5 Mon Sep 17 00:00:00 2001 From: Adriana Belinski Date: Sun, 23 Jul 2023 19:40:03 -0500 Subject: [PATCH] Added a colon in the empty dictionary example. --- _subpages/collection-types-comparison.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_subpages/collection-types-comparison.md b/_subpages/collection-types-comparison.md index e5f10fe..3887e0e 100644 --- a/_subpages/collection-types-comparison.md +++ b/_subpages/collection-types-comparison.md @@ -30,7 +30,7 @@ redirect_from: | **Arrays** | `let numbers: [Int] = []` or `let numbers = [Int]()` | | **Set** | `let numbers: Set = []` or `let numbers = Set()` | -| **Dictionaries** | `let points: [String: Int] = []` or `let points = [String: Int]()` | +| **Dictionaries** | `let points: [String: Int] = [:]` or `let points = [String: Int]()` | ### Order