1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-12-10 11:10:26 +02:00

Merge pull request #725 from Zerotask/add-hint-corresponding-readme

chore(watch): add hint for the exercises README.md
This commit is contained in:
marisa 2021-04-24 11:46:25 +02:00 committed by GitHub
commit 3cddda56fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {