pub fn insert<K: Eq + Hash, V>( map: &mut HashMap<K, V>, key: K, value: V, ) -> Option<V>
Insert value into map under key, returning the previous value.
value
map
key