mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-09 03:17:55 +00:00
Merge branch 'unstable' into eip4844
This commit is contained in:
@@ -160,6 +160,12 @@ where
|
||||
self.map.contains(key)
|
||||
}
|
||||
|
||||
/// Shrink the mappings to fit the current size.
|
||||
pub fn shrink_to_fit(&mut self) {
|
||||
self.map.shrink_to_fit();
|
||||
self.list.shrink_to_fit();
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
#[track_caller]
|
||||
fn check_invariant(&self) {
|
||||
|
||||
Reference in New Issue
Block a user