]> git.lizzy.rs Git - rust.git/blobdiff - src/libsyntax/ext/deriving/cmp/eq.rs
rollup merge of #20482: kmcallister/macro-reform
[rust.git] / src / libsyntax / ext / deriving / cmp / eq.rs
index 84d30a99004a46f9f9a10fbfb041fd08989d1320..7cb7ee3d35533e43fa9fa4c8231cd131a3a3f3b4 100644 (file)
@@ -61,7 +61,7 @@ fn cs_ne(cx: &mut ExtCtxt, span: Span, substr: &Substructure) -> P<Expr> {
             cx, span, substr)
     }
 
-    macro_rules! md (
+    macro_rules! md {
         ($name:expr, $f:ident) => { {
             let inline = cx.meta_word(span, InternedString::new("inline"));
             let attrs = vec!(cx.attribute(span, inline));
@@ -77,7 +77,7 @@ macro_rules! md (
                 })
             }
         } }
-    );
+    }
 
     let trait_def = TraitDef {
         span: span,