From 3fd11a4c99098a0255b939ef550f28c1147d2a35 Mon Sep 17 00:00:00 2001 From: meh Date: Wed, 9 Sep 2015 14:19:08 +0200 Subject: [PATCH] dictionary/immutable: fix to_owned lifetime --- src/util/dictionary/immutable.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/dictionary/immutable.rs b/src/util/dictionary/immutable.rs index 84c9cee..5293ed2 100644 --- a/src/util/dictionary/immutable.rs +++ b/src/util/dictionary/immutable.rs @@ -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() } }