From 34830b3c9b58f05a229734b4383c06380f3c47d8 Mon Sep 17 00:00:00 2001 From: Meredith Doan Date: Tue, 10 Feb 2026 16:22:22 -0700 Subject: [PATCH] fixed minor error --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 0b9c7667..b49ed367 100644 --- a/src/main.rs +++ b/src/main.rs @@ -180,8 +180,8 @@ fn main() -> Result { let n_exercises = app_state.exercises().len(); for ind in 0..n_exercises { app_state.reset_exercise_by_ind(ind)?; - app_state.set_current_exercise_ind(0); } + app_state.set_current_exercise_ind(0); println!("All exercises have been reset"); } else { app_state.set_current_exercise_by_name(&name)?;