@@ -231,7 +231,7 @@ pub struct MacroExpander<'a, 'b> {
231231
232232impl < ' a , ' b > MacroExpander < ' a , ' b > {
233233 pub fn new ( cx : & ' a mut ExtCtxt < ' b > , monotonic : bool ) -> Self {
234- MacroExpander { cx : cx , monotonic : monotonic }
234+ MacroExpander { cx, monotonic }
235235 }
236236
237237 pub fn expand_crate ( & mut self , mut krate : ast:: Crate ) -> ast:: Crate {
@@ -377,7 +377,7 @@ impl<'a, 'b> MacroExpander<'a, 'b> {
377377 _ => item. clone ( ) ,
378378 } ;
379379 invocations. push ( Invocation {
380- kind : InvocationKind :: Derive { path : path. clone ( ) , item : item } ,
380+ kind : InvocationKind :: Derive { path : path. clone ( ) , item } ,
381381 fragment_kind : invoc. fragment_kind ,
382382 expansion_data : ExpansionData {
383383 mark,
@@ -944,7 +944,7 @@ impl<'a, 'b> InvocationCollector<'a, 'b> {
944944 }
945945
946946 fn collect_bang ( & mut self , mac : ast:: Mac , span : Span , kind : AstFragmentKind ) -> AstFragment {
947- self . collect ( kind, InvocationKind :: Bang { mac : mac , ident : None , span : span } )
947+ self . collect ( kind, InvocationKind :: Bang { mac, ident : None , span } )
948948 }
949949
950950 fn collect_attr ( & mut self ,
0 commit comments