1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-11-08 09:09:17 +01:00

Remove unneeded .iter()

This commit is contained in:
mo8it 2024-04-01 17:36:42 +02:00
parent 14f3585816
commit 2f30eac27f

@ -339,12 +339,8 @@ fn watch(
clear_screen();
let failed_exercise_hint = match verify(
exercises.iter(),
(0, exercises.len()),
verbose,
success_hints,
) {
let failed_exercise_hint = match verify(exercises, (0, exercises.len()), verbose, success_hints)
{
Ok(_) => return Ok(WatchStatus::Finished),
Err(exercise) => Arc::new(Mutex::new(Some(exercise.hint.clone()))),
};