Skip to main content

remove_if_contained

Function remove_if_contained 

Source
pub fn remove_if_contained<K: Eq + Hash, V>(
    source: &mut HashMap<K, V>,
    key: &K,
) -> bool
Expand description

Removes key from source; whether it was there (RemoveIfContained).