mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-26 15:24:17 -05: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);
|
|
}
|