cargo fmt

(cherry picked from commit cda1a0b5c947330ece313fe3ab2cc1fe906f1ed4)
This commit is contained in:
Josh Stone
2022-05-06 18:30:56 -07:00
parent bf4b511f10
commit e424ab6028
+2 -1
View File
@@ -204,7 +204,8 @@ impl<K, V> IndexMapCore<K, V> {
/// 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);
}