pub(crate) fn pop(&mut self) -> Option<(K, V)> {
        if let Some(entry) = self.entries.pop() {
            let last = self.entries.len();
            self.erase_index(entry.hash, last);
            Some((entry.key, entry.value))
        } else {
            None
        }
    }
/// Remove the last key-value pair
Remove the last key-value pair
Remove the last key - value pair
pub(crate) fn pop(&mut self) -> Option<(K, V)> {
        if let Some(entry) = self.entries.pop() {
            let last = self.entries.len();
            self.erase_index(entry.hash, last);
            Some((entry.key, entry.value))
        } else {
            None
        }
    }
pub ( crate ) fn pop ( & mut self ) -> Option < ( K , V ) > { if let Some ( entry ) = self . entries . pop ( ) { let last = self . entries . len ( ) ; self . erase_index ( entry . hash , last ) ; Some ( ( entry . key , entry . value ) ) } else { None } }
Remove the last key-value pair
Remove the last key - value pair
&mut self
&mut self