mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-12-03 22:59:07 +02:00
fix: confine the user further in variable exercises
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.
This commit is contained in:
@@ -6,6 +6,6 @@
|
||||
fn main() {
|
||||
let x = 3;
|
||||
println!("Number {}", x);
|
||||
x = 5;
|
||||
x = 5; // don't change this line
|
||||
println!("Number {}", x);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user