let y = &mut x; add_one(y); println!("{}", x) } fn add_one(num: &mut i32) { *num += 1; } error[E0502]: cannot borrow `x` as immutable because it is also borrowed as mutable
at a time But as many immutable &’s as you want Mutable references block all other access The &mut must go out of scope before using other &’s Mutability Rules