summaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
authorZC <zhicong.tay@gmail.com>2021-06-07 18:22:55 +0800
committerGitHub <noreply@github.com>2021-06-07 18:22:55 +0800
commit48ffcbd2c4cc4d936c2c7480019190f179813cc5 (patch)
treea720faa1ee8965d01a47e31f5b2accc9167b318f /exercises
parenta2f0401c4c4be9ac326714f55fee454db22c0862 (diff)
fix(variables5): confine the answer further
let mut number = 3; can lead to a correct answer, so the comment helps to direct the users to the intended answer.
Diffstat (limited to 'exercises')
-rw-r--r--exercises/variables/variables5.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/variables/variables5.rs b/exercises/variables/variables5.rs
index da37ae9..175eebb 100644
--- a/exercises/variables/variables5.rs
+++ b/exercises/variables/variables5.rs
@@ -4,7 +4,7 @@
// I AM NOT DONE
fn main() {
- let number = "T-H-R-E-E";
+ let number = "T-H-R-E-E"; // don't change this line
println!("Spell a Number : {}", number);
number = 3;
println!("Number plus two is : {}", number + 2);