Intro
This post deals with standard library collections, and corresponds to chapter 16. in the Programming Rust book.
Rust moves elements into collections to avoid deep-copying of values. Due to Rusts borrow checker we won't get dangling pointers while collections are changed or resized.
Vec<T>
We've used that one …