fix(variables5): Add nudge for shadowing variable

This commit is contained in:
gavin
2022-07-11 13:48:49 +02:00
committed by mokou
co-authored by mokou
parent 81edc4234f
commit 60410cfd2e
+1 -1
View File
@@ -6,6 +6,6 @@
fn main() {
let number = "T-H-R-E-E"; // don't change this line
println!("Spell a Number : {}", number);
number = 3;
number = 3; // don't rename this variable
println!("Number plus two is : {}", number + 2);
}