Rust Standard Library Cookbook
上QQ阅读APP看书,第一时间看更新

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.