More var stuff

cat-town
Dan Buch 6 years ago
parent 85e8a9b8ea
commit 4f55c0c186
Signed by: meatballhat
GPG Key ID: 9685130D8B763EA7

@ -1,6 +1,9 @@
fn main() {
let mut x = 5;
println!("The value of x is: {}", x);
x = 6;
let x = 5;
let x = x + 1;
let x = x * 2;
println!("The value of x is: {}", x);
}

Loading…
Cancel
Save