Skip to content

Commit

Permalink
small typo fixed in the swift collections post
Browse files Browse the repository at this point in the history
  • Loading branch information
mecid committed Feb 20, 2024
1 parent feb2497 commit 75304ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _posts/2024-02-19-discovering-swift-collections-package.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ print(lettersAndNumbers.elements[0])
The *OrderedDictionary* behaves very similarly to the *OrderedSet* type and allows you to access the dictionary both by key and index.

#### Deque
*Deque* is another collection type that the Swift Collections package provides us. *Deque* is almost identical to the *Array* type, except it offers efficient insert and removal to both ends of the collection.
*Deque* is another collection type that the Swift Collections package provides us. *Deque* is almost identical to the *Array* type, except it offers efficient insert and removal from both ends of the collection.

```swift
var deque: Deque = [1, 2, 3, 4]
Expand Down

0 comments on commit 75304ad

Please sign in to comment.