mirror of
https://github.com/encounter/rust-ffmpeg-zmwangx.git
synced 2026-07-10 21:18:40 -07:00
dictionary/immutable: fix to_owned lifetime
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user