Skip to main content

difference

Function difference 

Source
pub fn difference<T: Hash + Eq + Clone>(
    a: &HashSet<T>,
    b: &HashSet<T>,
) -> HashSet<T>
Expand description

Returns the difference of two sets (elements in a but not in b).