mirror of
https://github.com/notohh/rustlings.git
synced 2024-10-30 08:49:12 -04:00
Show a message before running the exercise
This commit is contained in:
parent
34f02cf83d
commit
0785b24192
1 changed files with 2 additions and 0 deletions
|
@ -51,6 +51,8 @@ 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
|
||||||
|
.write_all(b"\nChecking the exercise, please wait...")?;
|
||||||
let success = self
|
let success = self
|
||||||
.app_state
|
.app_state
|
||||||
.current_exercise()
|
.current_exercise()
|
||||||
|
|
Loading…
Reference in a new issue