rustlings/exercises/01_variables/variables4.rs

9 lines
156 B
Rust
Raw Normal View History

2024-05-21 02:47:57 +03:00
// TODO: Fix the compiler error.
2015-09-17 03:19:24 +03:00
fn main() {
let x = 3;
2024-05-21 02:47:57 +03:00
println!("Number {x}");
x = 5; // Don't change this line
println!("Number {x}");
2015-09-17 03:19:24 +03:00
}