From 2e1b42a87fc01601a5c237af64cc0763688c63a2 Mon Sep 17 00:00:00 2001 From: Meredith Doan Date: Tue, 10 Feb 2026 16:25:44 -0700 Subject: [PATCH] propagated result of set_current_exercise_ind --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index b49ed367..354fba82 100644 --- a/src/main.rs +++ b/src/main.rs @@ -181,7 +181,7 @@ fn main() -> Result { 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)?;