From dc0db358abe19481e475e10c32149b53370f1a1c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 30 May 2024 05:57:31 +0200 Subject: Merging upstream version 1.72.1+dfsg1. Signed-off-by: Daniel Baumann --- vendor/serde/src/de/impls.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'vendor/serde/src/de') diff --git a/vendor/serde/src/de/impls.rs b/vendor/serde/src/de/impls.rs index a2e2c4856..7dd3bc327 100644 --- a/vendor/serde/src/de/impls.rs +++ b/vendor/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()) +); //////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3