Skip to content

Commit

Permalink
Added a colon in the empty dictionary example.
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianabelinski committed Jul 24, 2023
1 parent 6d3f4ea commit d8ad13d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _subpages/collection-types-comparison.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ redirect_from:

| **Arrays** | `let numbers: [Int] = []` or `let numbers = [Int]()` |
| **Set** | `let numbers: Set<Int> = []` or `let numbers = Set<Int>()` |
| **Dictionaries** | `let points: [String: Int] = []` or `let points = [String: Int]()` |
| **Dictionaries** | `let points: [String: Int] = [:]` or `let points = [String: Int]()` |

### Order

Expand Down

0 comments on commit d8ad13d

Please sign in to comment.