...

/

Untitled Masterpiece

This lesson discusses vectors in Rust.

What are Vectors?

Vectors are resizable arrays meaning(they can grow or shrink in size).

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 ...