diff --git a/serde/src/de/impls.rs b/serde/src/de/impls.rs index a2e2c4856..7dd3bc327 100644 --- a/serde/src/de/impls.rs +++ b/serde/src/de/impls.rs @@ -994,7 +994,8 @@ seq_impl!( HashSet::clear, HashSet::with_capacity_and_hasher(size_hint::cautious(seq.size_hint()), S::default()), HashSet::reserve, - HashSet::insert); + HashSet::insert +); #[cfg(any(feature = "std", feature = "alloc"))] seq_impl!( @@ -1409,16 +1410,14 @@ macro_rules! map_impl { } #[cfg(any(feature = "std", feature = "alloc"))] -map_impl!( - BTreeMap, - map, - BTreeMap::new()); +map_impl!(BTreeMap, map, BTreeMap::new()); #[cfg(feature = "std")] map_impl!( HashMap, map, - HashMap::with_capacity_and_hasher(size_hint::cautious(map.size_hint()), S::default())); + HashMap::with_capacity_and_hasher(size_hint::cautious(map.size_hint()), S::default()) +); ////////////////////////////////////////////////////////////////////////////////