Warning
This post was published 59 days ago. The information described in this article may have changed.
#![allow(warnings)]
fn main() {
let mut q = 44;
let mut z = 4;
let mut x: &mut u32 = &mut z;
let mut f: &mut &mut u32 = &mut x;
println!("{}", z);
let mut s: &mut u32 = &mut q;
x= &mut s;
println!("{}", x);
f = &mut s;
println!("{}", f);
}
2 posts - 2 participants
🏷️ rust_feed