diff options
| author | marisa <mokou@posteo.de> | 2019-11-11 17:21:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-11 17:21:06 +0100 |
| commit | ec2d4bd3ee665f2a4c79dd42c41078223074d4c1 (patch) | |
| tree | 6106b922559491112240f6465f965cf811caf5b8 /exercises/variables | |
| parent | ce9fa6ebbfdc3e7585d488d9409797285708316f (diff) | |
| parent | 9a9007abae86c3b1b1c09778a6544ced54ea4453 (diff) | |
Merge branch 'master' into refactor-hints
Diffstat (limited to 'exercises/variables')
| -rw-r--r-- | exercises/variables/variables1.rs | 7 | ||||
| -rw-r--r-- | exercises/variables/variables2.rs | 2 | ||||
| -rw-r--r-- | exercises/variables/variables3.rs | 2 | ||||
| -rw-r--r-- | exercises/variables/variables4.rs | 2 |
4 files changed, 13 insertions, 0 deletions
diff --git a/exercises/variables/variables1.rs b/exercises/variables/variables1.rs index 65452c2..5ddc37d 100644 --- a/exercises/variables/variables1.rs +++ b/exercises/variables/variables1.rs @@ -1,6 +1,13 @@ // variables1.rs // Make me compile! Execute the command `rustlings hint variables1` if you want a hint :) +// About this `I AM NOT DONE` thing: +// We sometimes encourage you to keep trying things on a given exercise, +// even after you already figured it out. If you got everything working and +// feel ready for the next exercise, you the `I AM NOT DONE` comment below. + +// I AM NOT DONE + fn main() { x = 5; println!("x has the value {}", x); diff --git a/exercises/variables/variables2.rs b/exercises/variables/variables2.rs index 388b05d..7774a8f 100644 --- a/exercises/variables/variables2.rs +++ b/exercises/variables/variables2.rs @@ -1,6 +1,8 @@ // variables2.rs // Make me compile! Execute the command `rustlings hint variables2` if you want a hint :) +// I AM NOT DONE + fn main() { let x; if x == 10 { diff --git a/exercises/variables/variables3.rs b/exercises/variables/variables3.rs index f2c9c63..07b1a52 100644 --- a/exercises/variables/variables3.rs +++ b/exercises/variables/variables3.rs @@ -1,6 +1,8 @@ // variables3.rs // Make me compile! Execute the command `rustlings hint variables3` if you want a hint :) +// I AM NOT DONE + fn main() { let x = 3; println!("Number {}", x); diff --git a/exercises/variables/variables4.rs b/exercises/variables/variables4.rs index f1ed6ef..77f1e9a 100644 --- a/exercises/variables/variables4.rs +++ b/exercises/variables/variables4.rs @@ -1,6 +1,8 @@ // variables4.rs // Make me compile! Execute the command `rustlings hint variables4` if you want a hint :) +// I AM NOT DONE + fn main() { let x: i32; println!("Number {}", x); |
