This commit is contained in:
Jonas Schievink 2015-11-26 21:10:04 +01:00
parent ce97479a15
commit 0c8039f10b
1 changed files with 1 additions and 1 deletions

View File

@ -2676,7 +2676,7 @@ impl Clean<Item> for doctree::Macro {
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),
}),
}