summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZerotask <Zerotask@users.noreply.github.com>2021-04-23 20:28:55 +0200
committerZerotask <Zerotask@users.noreply.github.com>2021-04-23 20:28:55 +0200
commitcf42ddc4497a2577e8c8e9206523322b3a2b9fc2 (patch)
tree2ec3867d7a5ba18f9505ffd6edc4f63770c0733e
parent54804e344d84bb620447b7975a5b8ec4f9de2671 (diff)
chore(watch): add hint for the exercises README.md
rustlings watch will now show an additional hint for the corresponding README.me
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index a95a09d..bc1b71e 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -264,7 +264,7 @@ fn main() {
fn spawn_watch_shell(failed_exercise_hint: &Arc<Mutex<Option<String>>>) {
let failed_exercise_hint = Arc::clone(failed_exercise_hint);
- println!("Type 'hint' to get help or 'clear' to clear the screen");
+ println!("Type 'hint' or open the corresponding README.md file to get help or type 'clear' to clear the screen.");
thread::spawn(move || loop {
let mut input = String::new();
match io::stdin().read_line(&mut input) {