diff --git a/src/map/core.rs b/src/map/core.rs index 50ebebe..0bc5462 100644 --- a/src/map/core.rs +++ b/src/map/core.rs @@ -204,7 +204,8 @@ impl IndexMapCore { /// Shrink the capacity of the map with a lower bound pub(crate) fn shrink_to(&mut self, min_capacity: usize) { - self.indices.shrink_to(min_capacity, get_hash(&self.entries)); + self.indices + .shrink_to(min_capacity, get_hash(&self.entries)); self.entries.shrink_to(min_capacity); }