pub fn remove(&self, k: &K) -> Option<V>
    where
        K: Eq + Hash,
    {
        let v = self.inner.borrow_mut().remove(k);
        (self.update)();
        v
    }
/// 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(&self, k: &K) -> Option<V>
    where
        K: Eq + Hash,
    {
        let v = self.inner.borrow_mut().remove(k);
        (self.update)();
        v
    }
pub fn remove ( & self , k : & K ) -> Option < V > where K : Eq + Hash , { let v = self . inner . borrow_mut ( ) . remove ( k ) ; ( self . update ) ( ) ; v }
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 .
&self
k
&K
&self
k
&K