rustlings/exercises/variables/variables3.rs
2026-01-01 21:29:58 +01:00

12 lines
240 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);
}