diff options
| author | mo8it <mo8it@proton.me> | 2024-05-14 01:49:22 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-05-14 01:49:22 +0200 |
| commit | c8481d35c120ff99213e6ed73ba889e51cac10c5 (patch) | |
| tree | fa6e94b279a0f0ff85b87fea33b5a0566f83179c /src/run.rs | |
| parent | 96a44f3dcf2dd9e2562b757d7840084b45b90b61 (diff) | |
Done documentation
Diffstat (limited to 'src/run.rs')
| -rw-r--r-- | src/run.rs | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -41,11 +41,7 @@ pub fn run(app_state: &mut AppState) -> Result<()> { match app_state.done_current_exercise(&mut stdout)? { ExercisesProgress::AllDone => (), - ExercisesProgress::CurrentPending => println!( - "Current exercise: {}", - app_state.current_exercise().terminal_link(), - ), - ExercisesProgress::NewPending => println!( + ExercisesProgress::CurrentPending | ExercisesProgress::NewPending => println!( "Next exercise: {}", app_state.current_exercise().terminal_link(), ), |
