mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-11-08 09:09:17 +01:00
Show the exercise name in the waiting message
This commit is contained in:
parent
0785b24192
commit
4ce8667b9d
@ -51,8 +51,11 @@ impl<'a> WatchState<'a> {
|
|||||||
pub fn run_current_exercise(&mut self) -> Result<()> {
|
pub fn run_current_exercise(&mut self) -> Result<()> {
|
||||||
self.show_hint = false;
|
self.show_hint = false;
|
||||||
|
|
||||||
self.writer
|
writeln!(
|
||||||
.write_all(b"\nChecking the exercise, please wait...")?;
|
self.writer,
|
||||||
|
"\nChecking the exercise `{}`. Please wait…",
|
||||||
|
self.app_state.current_exercise().name,
|
||||||
|
)?;
|
||||||
let success = self
|
let success = self
|
||||||
.app_state
|
.app_state
|
||||||
.current_exercise()
|
.current_exercise()
|
||||||
|
Loading…
Reference in New Issue
Block a user