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:
Evan Carroll 2020-05-25 03:09:11 -05:00 committed by GitHub
parent c7c3130507
commit 06ef4cc654
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -6,6 +6,6 @@
fn main() {
let x = 3;
println!("Number {}", x);
x = 5;
x = 5; // don't change this line
println!("Number {}", x);
}

View File

@ -4,7 +4,7 @@
// I AM NOT DONE
fn main() {
let number = "3";
let number = "3"; // don't change this line
println!("Number {}", number);
number = 3;
println!("Number {}", number);