pub fn remove_if_contained<K: Eq + Hash, V>( source: &mut HashMap<K, V>, key: &K, ) -> bool
Removes key from source; whether it was there (RemoveIfContained).
key
source
RemoveIfContained