ok cool the hash_map::Entry interface lets you insert things into a hashmap and return a ref to them, which HashMap::insert() does not allow since it takes ownership of the key and value
-
-
insert could be fn insert(&mut self, key: K, val: V) -> (Option<V>, &V) - ie old val, &new val
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.