diff --git a/lib/src/questions.rs b/lib/src/questions.rs index 6fd27f7..48b3489 100644 --- a/lib/src/questions.rs +++ b/lib/src/questions.rs @@ -106,7 +106,7 @@ impl From for Vec { .map(|item| item.clone().into()) .collect(); let batch_info = BatchInfo::from(src); - result.iter_mut().for_each(|mut question| { + result.iter_mut().for_each(|question| { question.batch_info = batch_info.clone(); });