File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3024,7 +3024,7 @@ impl Method {
3024
3024
let function = function_item. expect_function ( ) ;
3025
3025
let times_seen = function. codegen ( ctx, result, function_item) ;
3026
3026
let Some ( times_seen) = times_seen else { return } ;
3027
- let signature_item: & Item = ctx. resolve_item ( function. signature ( ) ) ;
3027
+ let signature_item = ctx. resolve_item ( function. signature ( ) ) ;
3028
3028
let mut name = match self . kind ( ) {
3029
3029
MethodKind :: Constructor => "new" . into ( ) ,
3030
3030
MethodKind :: Destructor => "destruct" . into ( ) ,
@@ -3146,7 +3146,7 @@ impl Method {
3146
3146
3147
3147
let block = ctx. wrap_unsafe_ops ( quote ! ( #( #stmts ) ; * ) ) ;
3148
3148
3149
- let mut attrs: Vec < proc_macro2 :: TokenStream > = vec ! [ attributes:: inline( ) ] ;
3149
+ let mut attrs = vec ! [ attributes:: inline( ) ] ;
3150
3150
attrs. extend (
3151
3151
function_item. annotations ( )
3152
3152
. attributes ( )
You can’t perform that action at this time.
0 commit comments