summaryrefslogtreecommitdiff
path: root/src/run.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/run.rs')
-rw-r--r--src/run.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/run.rs b/src/run.rs
index f0faa69..a969164 100644
--- a/src/run.rs
+++ b/src/run.rs
@@ -45,7 +45,7 @@ pub fn run(app_state: &mut AppState) -> Result<()> {
}
match app_state.done_current_exercise(&mut stdout)? {
- ExercisesProgress::CurrentPending | ExercisesProgress::NewPending => {
+ ExercisesProgress::NewPending | ExercisesProgress::CurrentPending => {
stdout.write_all(b"Next exercise: ")?;
app_state
.current_exercise()