hashmap_ext
pub trait Update<K, V> { fn update<F>(&mut self, key: K, f: F, default: V) where F: FnOnce(&mut V); }
fn update<F>(&mut self, key: K, f: F, default: V) where F: FnOnce(&mut V)
impl<K, V> Update<K, V> for HashMap<K, V> where K: Hash + Eq