From 06ef4cc654e75d22a526812919ee49b8956280bf Mon Sep 17 00:00:00 2001 From: Evan Carroll Date: Mon, 25 May 2020 03:09:11 -0500 Subject: [PATCH] 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. --- exercises/variables/variables3.rs | 2 +- exercises/variables/variables5.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/variables/variables3.rs b/exercises/variables/variables3.rs index 07b1a52118..30ec48ff58 100644 --- a/exercises/variables/variables3.rs +++ b/exercises/variables/variables3.rs @@ -6,6 +6,6 @@ fn main() { let x = 3; println!("Number {}", x); - x = 5; + x = 5; // don't change this line println!("Number {}", x); } diff --git a/exercises/variables/variables5.rs b/exercises/variables/variables5.rs index 47a68a55bc..5b2c2fa313 100644 --- a/exercises/variables/variables5.rs +++ b/exercises/variables/variables5.rs @@ -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);