@@ -633,8 +633,8 @@ fn decl_macro_expander(
633633 map. as_ref ( ) ,
634634 map. span_for_range ( macro_rules. macro_rules_token ( ) . unwrap ( ) . text_range ( ) ) ,
635635 ) ;
636- let mac = mbe :: DeclarativeMacro :: parse_macro_rules ( & tt , is_2021 , new_meta_vars ) ;
637- mac
636+
637+ mbe :: DeclarativeMacro :: parse_macro_rules ( & tt , is_2021 , new_meta_vars )
638638 }
639639 None => mbe:: DeclarativeMacro :: from_err (
640640 mbe:: ParseError :: Expected ( "expected a token tree" . into ( ) ) ,
@@ -651,8 +651,8 @@ fn decl_macro_expander(
651651 map. as_ref ( ) ,
652652 map. span_for_range ( macro_def. macro_token ( ) . unwrap ( ) . text_range ( ) ) ,
653653 ) ;
654- let mac = mbe :: DeclarativeMacro :: parse_macro2 ( & tt , is_2021 , new_meta_vars ) ;
655- mac
654+
655+ mbe :: DeclarativeMacro :: parse_macro2 ( & tt , is_2021 , new_meta_vars )
656656 }
657657 None => mbe:: DeclarativeMacro :: from_err (
658658 mbe:: ParseError :: Expected ( "expected a token tree" . into ( ) ) ,
@@ -722,7 +722,7 @@ fn macro_expand(
722722 db. decl_macro_expander ( loc. def . krate , id) . expand ( db, arg. clone ( ) , macro_call_id)
723723 }
724724 MacroDefKind :: BuiltIn ( it, _) => {
725- it. expand ( db, macro_call_id, & arg) . map_err ( Into :: into)
725+ it. expand ( db, macro_call_id, arg) . map_err ( Into :: into)
726726 }
727727 // This might look a bit odd, but we do not expand the inputs to eager macros here.
728728 // Eager macros inputs are expanded, well, eagerly when we collect the macro calls.
@@ -746,10 +746,10 @@ fn macro_expand(
746746 } ;
747747 }
748748 MacroDefKind :: BuiltInEager ( it, _) => {
749- it. expand ( db, macro_call_id, & arg) . map_err ( Into :: into)
749+ it. expand ( db, macro_call_id, arg) . map_err ( Into :: into)
750750 }
751751 MacroDefKind :: BuiltInAttr ( it, _) => {
752- let mut res = it. expand ( db, macro_call_id, & arg) ;
752+ let mut res = it. expand ( db, macro_call_id, arg) ;
753753 fixup:: reverse_fixups ( & mut res. value , & undo_info) ;
754754 res
755755 }
0 commit comments