diff options
Diffstat (limited to 'exercises/01_variables/variables5.rs')
| -rw-r--r-- | exercises/01_variables/variables5.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/01_variables/variables5.rs b/exercises/01_variables/variables5.rs index cf5620d..085e099 100644 --- a/exercises/01_variables/variables5.rs +++ b/exercises/01_variables/variables5.rs @@ -3,6 +3,6 @@ fn main() { println!("Spell a number: {number}"); // TODO: Fix the compiler error by changing the line below without renaming the variable. - number = 3; + let number = 3; println!("Number plus two is: {}", number + 2); } |
