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

Show a message before running the exercise

This commit is contained in:
mo8it 2024-08-08 22:41:41 +02:00
parent 34f02cf83d
commit 0785b24192

View File

@ -51,6 +51,8 @@ impl<'a> WatchState<'a> {
pub fn run_current_exercise(&mut self) -> Result<()> {
self.show_hint = false;
self.writer
.write_all(b"\nChecking the exercise, please wait...")?;
let success = self
.app_state
.current_exercise()