File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -994,7 +994,8 @@ seq_impl!(
994
994
HashSet :: clear,
995
995
HashSet :: with_capacity_and_hasher( size_hint:: cautious( seq. size_hint( ) ) , S :: default ( ) ) ,
996
996
HashSet :: reserve,
997
- HashSet :: insert) ;
997
+ HashSet :: insert
998
+ ) ;
998
999
999
1000
#[ cfg( any( feature = "std" , feature = "alloc" ) ) ]
1000
1001
seq_impl ! (
@@ -1409,16 +1410,14 @@ macro_rules! map_impl {
1409
1410
}
1410
1411
1411
1412
#[ 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( ) ) ;
1416
1414
1417
1415
#[ cfg( feature = "std" ) ]
1418
1416
map_impl ! (
1419
1417
HashMap <K : Eq + Hash , V , S : BuildHasher + Default >,
1420
1418
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
+ ) ;
1422
1421
1423
1422
////////////////////////////////////////////////////////////////////////////////
1424
1423
You can’t perform that action at this time.
0 commit comments