Skip to content

Commit cda1a0b

Browse files
committed
cargo fmt
1 parent 0937707 commit cda1a0b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/map/core.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,8 @@ impl<K, V> IndexMapCore<K, V> {
204204

205205
/// Shrink the capacity of the map with a lower bound
206206
pub(crate) fn shrink_to(&mut self, min_capacity: usize) {
207-
self.indices.shrink_to(min_capacity, get_hash(&self.entries));
207+
self.indices
208+
.shrink_to(min_capacity, get_hash(&self.entries));
208209
self.entries.shrink_to(min_capacity);
209210
}
210211

src/serde_seq.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ use core::fmt::{self, Formatter};
2727
use core::hash::{BuildHasher, Hash};
2828
use core::marker::PhantomData;
2929

30-
use crate::IndexMap;
3130
use crate::map::Slice as MapSlice;
3231
use crate::set::Slice as SetSlice;
32+
use crate::IndexMap;
3333

3434
/// Serializes a `map::Slice` as an ordered sequence.
3535
///

0 commit comments

Comments
 (0)