diff options
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 1cdd270..174ad80 100644 --- a/exercises/variables/variables1.rs +++ b/exercises/variables/variables1.rs @@ -1,6 +1,13 @@ // variables1.rs // Make me compile! Scroll down for hints :) +// 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 a0b4a37..e3c3b76 100644 --- a/exercises/variables/variables2.rs +++ b/exercises/variables/variables2.rs @@ -1,6 +1,8 @@ // variables2.rs // Make me compile! Scroll down for hints :) +// I AM NOT DONE + fn main() { let x; if x == 10 { diff --git a/exercises/variables/variables3.rs b/exercises/variables/variables3.rs index 165a277..7e3fd93 100644 --- a/exercises/variables/variables3.rs +++ b/exercises/variables/variables3.rs @@ -1,6 +1,8 @@ // variables3.rs // Make me compile! Scroll down for hints :) +// 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 71ebf0f..33eca9e 100644 --- a/exercises/variables/variables4.rs +++ b/exercises/variables/variables4.rs @@ -1,6 +1,8 @@ // variables4.rs // Make me compile! Scroll down for hints :) +// I AM NOT DONE + fn main() { let x: i32; println!("Number {}", x); |
