Skip to content

Commit

Permalink
Merge pull request #7 from adrianabelinski/small-change
Browse files Browse the repository at this point in the history
Added a colon in the empty dictionary example.
  • Loading branch information
ebelinski authored Jul 24, 2023
2 parents 6d3f4ea + d8ad13d commit 0a15683
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 0a15683

Please sign in to comment.