dictionary/immutable: fix to_owned lifetime

This commit is contained in:
meh 2015-09-09 14:19:08 +02:00
parent c6b6f3720a
commit 3fd11a4c99

View File

@ -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()
} }
} }