Remove T: Clone bound from validate_list
@@ -220,7 +220,6 @@ pub trait Validator {
fn validate_list<F, T>(&mut self, list: &[T], f: F) -> DiagnosticsResult<()>
where
F: Fn(&mut Self, &T) -> DiagnosticsResult<()>,
- T: Clone,
{
validate_map(list, |item| f(self, item))
}
