Skip to main content

One doc tagged with "vec"

View all tags

Vectors (`Vec<T>`): The Growable Array

Welcome to our fifth series! Now that you have a solid understanding of Rust's basic data types and control flow, it's time to dive into collections. Collections are data structures that can contain multiple values. Unlike the array and tuple types we've seen before, some collection types can grow or shrink in size.