summaryrefslogtreecommitdiff
path: root/src/run.rs
diff options
context:
space:
mode:
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(),
),