diff options
Diffstat (limited to 'exercises/variables/variables4.rs')
| -rw-r--r-- | exercises/variables/variables4.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/exercises/variables/variables4.rs b/exercises/variables/variables4.rs index 77f1e9a..54491b0 100644 --- a/exercises/variables/variables4.rs +++ b/exercises/variables/variables4.rs @@ -1,9 +1,11 @@ // variables4.rs -// Make me compile! Execute the command `rustlings hint variables4` if you want a hint :) +// Execute `rustlings hint variables4` or use the `hint` watch subcommand for a hint. // I AM NOT DONE fn main() { - let x: i32; + let x = 3; + println!("Number {}", x); + x = 5; // don't change this line println!("Number {}", x); } |
