rustlings/exercises/variables/variables3.rs
Zachary Chua f37762c23a Finished first 5 as wel as quiz1
Finished variables, functions, if, move semantics, primitive types as
well as quiz1
2021-05-05 18:16:53 +08:00

10 lines
238 B
Rust

// variables3.rs
// Make me compile! Execute the command `rustlings hint variables3` if you want a hint :)
fn main() {
let mut x = 3;
println!("Number {}", x);
x = 5; // don't change this line
println!("Number {}", x);
}