mirror of
https://github.com/rust-lang/rustlings
synced 2024-11-20 03:25:32 +00:00
06ef4cc654
We want to teach a specific lesson. To ensure that we do, let's try to provide more clarity on what the user should not do.
12 lines
252 B
Rust
12 lines
252 B
Rust
// variables3.rs
|
|
// Make me compile! Execute the command `rustlings hint variables3` if you want a hint :)
|
|
|
|
// I AM NOT DONE
|
|
|
|
fn main() {
|
|
let x = 3;
|
|
println!("Number {}", x);
|
|
x = 5; // don't change this line
|
|
println!("Number {}", x);
|
|
}
|