summaryrefslogtreecommitdiff
path: root/src/app_state.rs
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-09-05 17:32:59 +0200
committermo8it <mo8it@proton.me>2024-09-05 17:32:59 +0200
commitdcad002057acfb1a41513fb421275116ea946ca3 (patch)
treec8e11f7584ad1c1d3f04a99d410435fe374e21c8 /src/app_state.rs
parent51b8d2ab2542eb6115bbfdbe7a404993dfcd0749 (diff)
Only render when needed
Diffstat (limited to 'src/app_state.rs')
-rw-r--r--src/app_state.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app_state.rs b/src/app_state.rs
index 7123d11..ed723c2 100644
--- a/src/app_state.rs
+++ b/src/app_state.rs
@@ -24,10 +24,10 @@ const STATE_FILE_NAME: &str = ".rustlings-state.txt";
pub enum ExercisesProgress {
// All exercises are done.
AllDone,
- // The current exercise failed and is still pending.
- CurrentPending,
// A new exercise is now pending.
NewPending,
+ // The current exercise is still pending.
+ CurrentPending,
}
pub enum StateFileStatus {