dictionary/immutable: fix to_owned lifetime
This commit is contained in:
parent
c6b6f3720a
commit
3fd11a4c99
@ -43,7 +43,7 @@ impl<'a> Ref<'a> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn to_owned(&self) -> Owned {
|
pub fn to_owned<'b>(&self) -> Owned<'b> {
|
||||||
self.iter().collect()
|
self.iter().collect()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user