diff options
| author | Roberto Vidal <vidal.roberto.j@gmail.com> | 2019-11-11 13:38:24 +0100 |
|---|---|---|
| committer | Roberto Vidal <vidal.roberto.j@gmail.com> | 2019-11-11 16:23:35 +0100 |
| commit | 2cdd61294f0d9a53775ee24ad76435bec8a21e60 (patch) | |
| tree | 36442292a4e3b0ae07072b0dfaf59a3bc799a397 /exercises/variables | |
| parent | a47a62172a5d4c479d242498b9b140b3111fb7c6 (diff) | |
feat: improve `watch` execution mode
The `watch` command now requires user action to move to the next
exercise.
BREAKING CHANGE: this changes the behavior of `watch`.
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); |
