Mutable integers are copies
- Both are mutable
examples/ownership/mutable-integers/src/main.rs
fn main() { let mut a = 23; println!("{a}"); let mut b = a; println!("{b}"); a += 1; println!("{a}"); println!("{b}"); b += 1; println!("{a}"); println!("{b}"); }
23 23 24 23 24 24