mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-25 17:42:27 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
868 B
868 B
Vector
Vec<T> is Rust's growable, heap-allocated array that stores elements of the same type contiguously. Unlike arrays, vectors can resize at runtime. Key methods include push() to add elements, pop() to remove the last element, and len() for size. Example: let mut v = vec![1, 2, 3];
Visit the following resources to learn more: