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)?;