diff options
| author | mokou <mokou@fastmail.com> | 2022-07-11 13:43:41 +0200 |
|---|---|---|
| committer | mokou <mokou@fastmail.com> | 2022-07-11 13:43:41 +0200 |
| commit | 81edc4234fbe40eee34f83bbc2995c69f9e1e07c (patch) | |
| tree | 8fc2a46b1c2ad65ac293da9e0f3577b2e9a4a952 /exercises/variables/variables4.rs | |
| parent | c3c21ad91fd66bcffedb85f542c1c830e1a7cdc0 (diff) | |
fix(variables): reorder and redo hint texts
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); } |
