Skip to content

Commit 1d910a4

Browse files
committed
Format with rustfmt 1.5.2-nightly
1 parent ee9166e commit 1d910a4

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

serde/src/de/impls.rs

+5-6
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,8 @@ seq_impl!(
994994
HashSet::clear,
995995
HashSet::with_capacity_and_hasher(size_hint::cautious(seq.size_hint()), S::default()),
996996
HashSet::reserve,
997-
HashSet::insert);
997+
HashSet::insert
998+
);
998999

9991000
#[cfg(any(feature = "std", feature = "alloc"))]
10001001
seq_impl!(
@@ -1409,16 +1410,14 @@ macro_rules! map_impl {
14091410
}
14101411

14111412
#[cfg(any(feature = "std", feature = "alloc"))]
1412-
map_impl!(
1413-
BTreeMap<K: Ord, V>,
1414-
map,
1415-
BTreeMap::new());
1413+
map_impl!(BTreeMap<K: Ord, V>, map, BTreeMap::new());
14161414

14171415
#[cfg(feature = "std")]
14181416
map_impl!(
14191417
HashMap<K: Eq + Hash, V, S: BuildHasher + Default>,
14201418
map,
1421-
HashMap::with_capacity_and_hasher(size_hint::cautious(map.size_hint()), S::default()));
1419+
HashMap::with_capacity_and_hasher(size_hint::cautious(map.size_hint()), S::default())
1420+
);
14221421

14231422
////////////////////////////////////////////////////////////////////////////////
14241423

0 commit comments

Comments
 (0)