- Rust Standard Library Cookbook
- Jan Nils Ferner Daniel Durante
- 39字
- 2021-08-27 19:45:10
Using a vector
The most basic collection is the vector, or Vec for short. It is essentially a variable-length array with a very low overhead. As such, it is the collection that you will use most of the time.