diff options
Diffstat (limited to 'exercises/01_variables/variables4.rs')
| -rw-r--r-- | exercises/01_variables/variables4.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/exercises/01_variables/variables4.rs b/exercises/01_variables/variables4.rs new file mode 100644 index 0000000..5394f39 --- /dev/null +++ b/exercises/01_variables/variables4.rs @@ -0,0 +1,13 @@ +// variables4.rs +// +// Execute `rustlings hint variables4` or use the `hint` watch subcommand for a +// hint. + +// I AM NOT DONE + +fn main() { + let x = 3; + println!("Number {}", x); + x = 5; // don't change this line + println!("Number {}", x); +} |
