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 {
30243024 let function = function_item. expect_function ( ) ;
30253025 let times_seen = function. codegen ( ctx, result, function_item) ;
30263026 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 ( ) ) ;
30283028 let mut name = match self . kind ( ) {
30293029 MethodKind :: Constructor => "new" . into ( ) ,
30303030 MethodKind :: Destructor => "destruct" . into ( ) ,
@@ -3146,7 +3146,7 @@ impl Method {
31463146
31473147 let block = ctx. wrap_unsafe_ops ( quote ! ( #( #stmts ) ; * ) ) ;
31483148
3149- let mut attrs: Vec < proc_macro2 :: TokenStream > = vec ! [ attributes:: inline( ) ] ;
3149+ let mut attrs = vec ! [ attributes:: inline( ) ] ;
31503150 attrs. extend (
31513151 function_item. annotations ( )
31523152 . attributes ( )
You can’t perform that action at this time.
0 commit comments