rustlings/exercises/variables/variables3.rs

11 lines
235 B
Rust

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