mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-11 07:10:21 +00:00
schema: FromIterator lifetime fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
c43ac0a64c
commit
39eac6280f
@ -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<T>(iter: T) -> Self
|
fn from_iter<T>(iter: T) -> Self
|
||||||
where
|
where
|
||||||
T: IntoIterator<Item = (String, Error)>,
|
T: IntoIterator<Item = (&'a str, Error)>,
|
||||||
{
|
{
|
||||||
let mut this = Self::new();
|
let mut this = Self::new();
|
||||||
this.extend(iter);
|
this.extend(iter);
|
||||||
|
Loading…
Reference in New Issue
Block a user