diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs
index c831015e53936..a731294aba2ba 100644
--- a/src/librustdoc/html/render.rs
+++ b/src/librustdoc/html/render.rs
@@ -2174,9 +2174,9 @@ impl<'a> fmt::Show for Source<'a> {
fn item_macro(w: &mut fmt::Formatter, it: &clean::Item,
t: &clean::Macro) -> fmt::Result {
- try!(w.write(highlight::highlight(t.source.as_slice(), Some("macro"),
- None).as_bytes()));
- document(w, it)
+ try!(document(w, it))
+ w.write(highlight::highlight(t.source.as_slice(), Some("macro"),
+ None).as_bytes())
}
fn item_primitive(w: &mut fmt::Formatter,