/// Erase the given index from `indices`.
///
/// The index doesn't need to be valid in `entries` while calling this.  No other index
/// adjustments are made -- this is only used by `pop` for the greatest index.
Erase the given index from `indices`.
The index doesn't need to be valid in `entries` while calling this.  No other index
adjustments are made -- this is only used by `pop` for the greatest index.
Erase the given index from ` indices ` . The index doesn ' t need to be valid in ` entries ` while calling this . No other index adjustments are made -- this is only used by ` pop ` for the greatest index .
pub(super) fn erase_index(&mut self, hash: HashValue, index: usize) {
        debug_assert_eq!(index, self.indices.len() - 1);
        let raw_bucket = self.find_index(hash, index).unwrap();
        unsafe { self.indices.erase(raw_bucket) };
    }
pub ( super ) fn erase_index ( & mut self , hash : HashValue , index : usize ) { debug_assert_eq ! ( index self indices len ( ) 1 ) ; let raw_bucket = self . find_index ( hash , index ) . unwrap ( ) ; unsafe { self . indices . erase ( raw_bucket ) } ; }
Erase the given index from `indices`.
Erase the given index from ` indices ` .
&mut self
hash
HashValue
index
usize