mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-27 15:56:28 +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.
11 lines
252 B
Rust
11 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);
|
|
}
|