summaryrefslogtreecommitdiff
path: root/src/run.rs
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-05-14 01:49:22 +0200
committermo8it <mo8it@proton.me>2024-05-14 01:49:22 +0200
commitc8481d35c120ff99213e6ed73ba889e51cac10c5 (patch)
treefa6e94b279a0f0ff85b87fea33b5a0566f83179c /src/run.rs
parent96a44f3dcf2dd9e2562b757d7840084b45b90b61 (diff)
Done documentation
Diffstat (limited to 'src/run.rs')
-rw-r--r--src/run.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/run.rs b/src/run.rs
index ac97414..36899b9 100644
--- a/src/run.rs
+++ b/src/run.rs
@@ -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(),
),