1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-09-16 09:26:49 +02:00

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.
This commit is contained in:
ZC
2021-06-07 18:22:55 +08:00
committed by GitHub
parent a2f0401c4c
commit 48ffcbd2c4

View File

@@ -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);