You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Reference Pointers - Point to a resource in memory
pub fn run() {
// Primitive Array
let arr1 = [1, 2, 3];
let arr2 = arr1;
// With non-primitives, if you assign another variable to a piece of data, the first variable will no longer hold that value. You'll need to use a reference (&) to point to the resource