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`.
This commit is contained in:
Roberto Vidal
2019-11-11 13:38:24 +01:00
parent a47a62172a
commit 2cdd61294f
60 changed files with 309 additions and 12 deletions

View File

@@ -1,6 +1,8 @@
// move_semantics1.rs
// Make me compile! Scroll down for hints :)
// I AM NOT DONE
fn main() {
let vec0 = Vec::new();

View File

@@ -1,6 +1,8 @@
// move_semantics2.rs
// Make me compile without changing line 10! Scroll down for hints :)
// I AM NOT DONE
fn main() {
let vec0 = Vec::new();

View File

@@ -3,6 +3,8 @@
// (no lines with multiple semicolons necessary!)
// Scroll down for hints :)
// I AM NOT DONE
fn main() {
let vec0 = Vec::new();

View File

@@ -3,6 +3,8 @@
// in `fn main`, we instead create it within `fn fill_vec` and transfer the
// freshly created vector from fill_vec to its caller. Scroll for hints!
// I AM NOT DONE
fn main() {
let vec0 = Vec::new();