@@ -2246,8 +2246,8 @@ impl GenericArg {
2246
2246
2247
2247
#[ derive( Clone , PartialEq , Eq , Debug , Hash ) ]
2248
2248
pub ( crate ) enum GenericArgs {
2249
- AngleBracketed { args : Box < [ GenericArg ] > , constraints : ThinVec < AssocItemConstraint > } ,
2250
- Parenthesized { inputs : Box < [ Type ] > , output : Option < Box < Type > > } ,
2249
+ AngleBracketed { args : ThinVec < GenericArg > , constraints : ThinVec < AssocItemConstraint > } ,
2250
+ Parenthesized { inputs : ThinVec < Type > , output : Option < Box < Type > > } ,
2251
2251
}
2252
2252
2253
2253
impl GenericArgs {
@@ -2271,7 +2271,7 @@ impl GenericArgs {
2271
2271
assoc : PathSegment {
2272
2272
name : sym:: Output ,
2273
2273
args : GenericArgs :: AngleBracketed {
2274
- args : Vec :: new ( ) . into_boxed_slice ( ) ,
2274
+ args : ThinVec :: new ( ) ,
2275
2275
constraints : ThinVec :: new ( ) ,
2276
2276
} ,
2277
2277
} ,
@@ -2588,12 +2588,12 @@ mod size_asserts {
2588
2588
static_assert_size ! ( Crate , 56 ) ; // frequently moved by-value
2589
2589
static_assert_size ! ( DocFragment , 32 ) ;
2590
2590
static_assert_size ! ( GenericArg , 32 ) ;
2591
- static_assert_size ! ( GenericArgs , 32 ) ;
2591
+ static_assert_size ! ( GenericArgs , 24 ) ;
2592
2592
static_assert_size ! ( GenericParamDef , 40 ) ;
2593
2593
static_assert_size ! ( Generics , 16 ) ;
2594
2594
static_assert_size ! ( Item , 48 ) ;
2595
2595
static_assert_size ! ( ItemKind , 48 ) ;
2596
- static_assert_size ! ( PathSegment , 40 ) ;
2596
+ static_assert_size ! ( PathSegment , 32 ) ;
2597
2597
static_assert_size ! ( Type , 32 ) ;
2598
2598
// tidy-alphabetical-end
2599
2599
}
0 commit comments