Skip to content

Glossary: Rust Basics

Vec

Also written: vector, vec!

A growable list of items of one type, such as `Vec<u32>`, kept on the heap. You make one with `Vec::new()` or the `vec!` macro.

Where the book teaches it

Related terms

Arraypush / popCollections