Introduction to Vectors
This lesson discusses vectors in Rust.
We'll cover the following...
What are Vectors?
Vectors are resizable arrays meaning(they can grow or shrink in size).
Press + to interact
Create Vectors
There are two ways to create a vector:
Syntax
To create a vector write the vector macro (vec!) followed by the elements of the vector enclosed in square brackets
It is optional to define the ...
Ask