rustlings/exercises/01_variables/variables4.rs

9 lines
156 B
Rust
Raw Permalink Normal View History

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