// Generates a version of `self` that lacks the entries it shares with `other`
Generates a version of `self` that lacks the entries it shares with `other`
Generates a version of ` self ` that lacks the entries it shares with ` other `
pub fn cut_common(&self, other: &Assoc<K, V>) -> Assoc<K, V>
    where V: PartialEq {
        Self::from_hamt(
            self.hamt.iter().filter(|(k, v)| other.find(k) != Some(v)).cloned().collect(),
        )
    }
pub fn cut_common ( & self , other : & Assoc < K , V > ) -> Assoc < K , V > where V : PartialEq { Self :: from_hamt ( self . hamt . iter ( ) . filter ( | ( k , v ) | other . find ( k ) != Some ( v ) ) . cloned ( ) . collect ( ) , ) }
Generates a version of `self` that lacks the entries it shares with `other`
Generates a version of ` self ` that lacks the entries it shares with ` other `
&self
other
&Assoc<K, V>