Skip to content

Commit cca0641

Browse files
Update the rendered version of the content
1 parent 27943ba commit cca0641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TSPL.docc/LanguageGuide/CollectionTypes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ You can create an empty array of a certain type
7474
using initializer syntax:
7575

7676
```swift
77-
var someInts: [Int] = []
77+
var someInts = [Int]()
7878
print("someInts is of type [Int] with \(someInts.count) items.")
7979
// Prints "someInts is of type [Int] with 0 items."
8080
```

0 commit comments

Comments
 (0)