Skip to content

Commit 80c7f4a

Browse files
committed
Remove new trailing whitespace
1 parent 21215ce commit 80c7f4a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

TSPL.docc/LanguageGuide/CollectionTypes.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ print("someInts is of type [Int] with \(someInts.count) items.")
9494
```
9595
-->
9696

97-
Alternatively, you can create an empty array of a certain type
98-
using *initializer syntax*,
99-
which is done by writing the type in square brackets
97+
Alternatively, you can create an empty array of a certain type
98+
using *initializer syntax*,
99+
which is done by writing the type in square brackets
100100
followed by parentheses (`[Element]()`):
101101

102102
```swift
@@ -115,12 +115,12 @@ print("someInts is of type [Int] with \(someInts.count) items.")
115115
```
116116
-->
117117

118-
Both approaches produce the same result.
119-
However, the empty array literal (`[]`) is the preferred way to
120-
initialize an empty array because it is more concise and aligns with
118+
Both approaches produce the same result.
119+
However, the empty array literal (`[]`) is the preferred way to
120+
initialize an empty array because it is more concise and aligns with
121121
the style guidelines used throughout this guide.
122122

123-
In both cases, you can use the empty array literal (`[]`) to
123+
In both cases, you can use the empty array literal (`[]`) to
124124
reassign an empty array to an existing variable:
125125

126126
```swift

0 commit comments

Comments
 (0)