diff --git a/proxmox-schema/src/schema.rs b/proxmox-schema/src/schema.rs index d073f369..44c56e77 100644 --- a/proxmox-schema/src/schema.rs +++ b/proxmox-schema/src/schema.rs @@ -132,10 +132,10 @@ impl FromIterator<(String, Error)> for ParameterError { } } -impl FromIterator<(&str, Error)> for ParameterError { +impl<'a> FromIterator<(&'a str, Error)> for ParameterError { fn from_iter(iter: T) -> Self where - T: IntoIterator, + T: IntoIterator, { let mut this = Self::new(); this.extend(iter);