pub fn remove_entry<A: 'static + ?Sized, Q: ?Sized>(&mut self, key: &Q) -> Option<EntryAt<E, A>>
    where
        E: EntryFamily<A>,
        KeyAt<E, A>: Borrow<Q>,
        Q: Hash + Eq,
    {
        let hash = self.hash_key(key);
        // Avoid `Option::map` because it bloats LLVM IR.
        match self.raw.remove_entry(hash, equivalent_key(key)) {
            Some(v) => match v.downcast() {
                Some(raw) => Some(raw.entry),
                None => unreachable_internal_invariant("hash+equivalent key for the correct type"),
            },
            None => None,
        }
    }
/// Removes a key from the map, returning the value at the key if the key
/// was previously in the map.
Removes a key from the map, returning the value at the key if the key
was previously in the map.
Removes a key from the map returning the value at the key if the key was previously in the map .
pub fn remove_entry<A: 'static + ?Sized, Q: ?Sized>(&mut self, key: &Q) -> Option<EntryAt<E, A>>
    where
        E: EntryFamily<A>,
        KeyAt<E, A>: Borrow<Q>,
        Q: Hash + Eq,
    {
        let hash = self.hash_key(key);
        // Avoid `Option::map` because it bloats LLVM IR.
        match self.raw.remove_entry(hash, equivalent_key(key)) {
            Some(v) => match v.downcast() {
                Some(raw) => Some(raw.entry),
                None => unreachable_internal_invariant("hash+equivalent key for the correct type"),
            },
            None => None,
        }
    }
pub fn remove_entry < A : ' static + ? Sized , Q : ? Sized > ( & mut self , key : & Q ) -> Option < EntryAt < E , A > > where E : EntryFamily < A > , KeyAt < E , A > : Borrow < Q > , Q : Hash + Eq , { let hash = self . hash_key ( key ) ; // Avoid `Option::map` because it bloats LLVM IR. match self . raw . remove_entry ( hash , equivalent_key ( key ) ) { Some ( v ) => match v . downcast ( ) { Some ( raw ) => Some ( raw . entry ) , None => unreachable_internal_invariant ( " " ) , } , None => None , } }
Removes a key from the map, returning the value at the key if the key
was previously in the map.
Removes a key from the map returning the value at the key if the key was previously in the map .
&mut self
key
&Q