-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is no longer needed to create a new Deque instance. Instead, use one of the following: ``` var stringDeque deque.Deque[string] stringDeque := new(deque.Deque[string]) stringDeque := &deque.Deque[string]{} ``` To set current capacity, use `Grow`. To set base capacity use `SetBaseCap`.
- Loading branch information
Showing
2 changed files
with
33 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters