diff options
| author | Torben Jonas <TorbenJ@users.noreply.github.com> | 2020-01-14 21:06:43 +0100 |
|---|---|---|
| committer | Torben Jonas <TorbenJ@users.noreply.github.com> | 2020-01-14 21:10:07 +0100 |
| commit | 0c73609e6f2311295e95d6f96f8c747cfc4cba03 (patch) | |
| tree | 07178cb70d801334aaedc6164b17b17ab6619913 /exercises/variables | |
| parent | 19a93428b3c73d994292671f829bdc8e5b7b3401 (diff) | |
feat: Add variables5.rs exercise
closes #260
Diffstat (limited to 'exercises/variables')
| -rw-r--r-- | exercises/variables/variables5.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/exercises/variables/variables5.rs b/exercises/variables/variables5.rs new file mode 100644 index 0000000..47a68a5 --- /dev/null +++ b/exercises/variables/variables5.rs @@ -0,0 +1,11 @@ +// variables5.rs +// Make me compile! Execute the command `rustlings hint variables5` if you want a hint :) + +// I AM NOT DONE + +fn main() { + let number = "3"; + println!("Number {}", number); + number = 3; + println!("Number {}", number); +} |
