diff options
| author | gavin <gavin18d@gmail.com> | 2022-02-20 10:53:51 +0530 |
|---|---|---|
| committer | mokou <mokou@fastmail.com> | 2022-07-11 13:48:49 +0200 |
| commit | 60410cfd2ea4f819f633e3c69efe916d3f825536 (patch) | |
| tree | 0061ec0da9c2522b69e8e81ec1eef5bcfc0c1dd7 | |
| parent | 81edc4234fbe40eee34f83bbc2995c69f9e1e07c (diff) | |
fix(variables5): Add nudge for shadowing variable
| -rw-r--r-- | exercises/variables/variables5.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/variables/variables5.rs b/exercises/variables/variables5.rs index 7042d6f..0e670d2 100644 --- a/exercises/variables/variables5.rs +++ b/exercises/variables/variables5.rs @@ -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); } |
