rustlings/exercises/variables/variables3.rs

16 lines
326 B
Rust

// variables3.rs
//
// Execute `rustlings hint variables3` or use the `hint` watch subcommand for a
// hint.
fn main() {
<<<<<<< HEAD
let mut x = 3;
println!("Number {}", x);
x = 5; // don't change this line
=======
let x: i32;
>>>>>>> 11d8aea96f2c744d970ed1ffb38785cf5b511e5e
println!("Number {}", x);
}