From c6b6f3720a1ae2210f7827b77f4c15dcf21675b9 Mon Sep 17 00:00:00 2001 From: lummax Date: Wed, 9 Sep 2015 10:03:22 +0200 Subject: [PATCH] dictionary/mutable: fix `set()` implementation --- src/util/dictionary/mutable.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/dictionary/mutable.rs b/src/util/dictionary/mutable.rs index c6fc24a..e65cd75 100644 --- a/src/util/dictionary/mutable.rs +++ b/src/util/dictionary/mutable.rs @@ -34,6 +34,7 @@ impl<'a> Ref<'a> { } self.ptr = ptr; + self.imm = immutable::Ref::wrap(ptr); } } }