We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e12c3bf commit d12e030Copy full SHA for d12e030
doc/tutorial-container.md
@@ -4,11 +4,11 @@
4
5
The container traits are defined in the `std::container` module.
6
7
-## Unique and managed vectors
+## Unique vectors
8
9
-Vectors have `O(1)` indexing and removal from the end, along with `O(1)`
10
-amortized insertion. Vectors are the most common container in Rust, and are
11
-flexible enough to fit many use cases.
+Vectors have `O(1)` indexing, push (to the end) and pop (from the end). Vectors
+are the most common container in Rust, and are flexible enough to fit many use
+cases.
12
13
Vectors can also be sorted and used as efficient lookup tables with the
14
`std::vec::bsearch` function, if all the elements are inserted at one time and
0 commit comments