mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-06 10:03:30 +02:00
Show a message before running the exercise
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user