]> git.lizzy.rs Git - rust.git/commitdiff
;
authorJonas Schievink <jonas@schievink.net>
Thu, 26 Nov 2015 20:10:04 +0000 (21:10 +0100)
committerJonas Schievink <jonas@schievink.net>
Thu, 26 Nov 2015 20:10:04 +0000 (21:10 +0100)
src/librustdoc/clean/mod.rs

index 2bab56791872811912267df3411b09023ac6a436..36b48467846cb0aba16a3bc7974e417a1099b2d5 100644 (file)
@@ -2676,7 +2676,7 @@ fn clean(&self, cx: &DocContext) -> Item {
             inner: MacroItem(Macro {
                 source: format!("macro_rules! {} {{\n{}}}",
                     name.trim_right_matches('!'), self.matchers.iter().map(|span|
-                        format!("    {} => {{ ... }}\n", span.to_src(cx))).collect::<String>()),
+                        format!("    {} => {{ ... }};\n", span.to_src(cx))).collect::<String>()),
                 imported_from: self.imported_from.clean(cx),
             }),
         }