diff options
| author | Carol (Nichols || Goulding) <carol.nichols@gmail.com> | 2015-09-16 20:19:24 -0400 |
|---|---|---|
| committer | Carol (Nichols || Goulding) <carol.nichols@gmail.com> | 2015-09-16 20:27:45 -0400 |
| commit | f4c6dcf1d7c8c95bed0d7be36f27f504d8c0cb87 (patch) | |
| tree | 5224716db1cd7a2d1711b16902e45c5f5189a7ec /variables/variables3.rs | |
| parent | 32900581b9428a091078e78e1895e7448a70a710 (diff) | |
Add some exercises about variables!
Diffstat (limited to 'variables/variables3.rs')
| -rw-r--r-- | variables/variables3.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/variables/variables3.rs b/variables/variables3.rs new file mode 100644 index 0000000..cadb40b --- /dev/null +++ b/variables/variables3.rs @@ -0,0 +1,8 @@ +// Make me compile! + +fn main() { + let x = 3; + println!("Number {}", x); + x = 5; + println!("Number {}", x); +} |
