Merge branch 'unstable' into eip4844

This commit is contained in:
Diva M
2023-03-17 16:26:51 -05:00
27 changed files with 853 additions and 1029 deletions

View File

@@ -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) {