diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs index b2cef48af4c..3cd3fe3053a 100644 --- a/src/librustdoc/html/render.rs +++ b/src/librustdoc/html/render.rs @@ -1304,7 +1304,7 @@ impl<'a> Item<'a> { impl<'a> fmt::Show for Item<'a> { fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { // Write the breadcrumb trail header for the top - try!(write!(fmt, "\n

")); + try!(write!(fmt, "\n

")); match self.item.inner { clean::ModuleItem(ref m) => if m.is_crate { try!(write!(fmt, "Crate ")); @@ -1337,8 +1337,9 @@ impl<'a> fmt::Show for Item<'a> { // Write stability level try!(write!(fmt, "{}", Stability(&self.item.stability))); + try!(write!(fmt, "")); // in-band // Links to out-of-band information, i.e. src and stability dashboard - try!(write!(fmt, "

")); + try!(write!(fmt, "")); // Write stability dashboard link match self.item.inner { @@ -1370,7 +1371,7 @@ impl<'a> fmt::Show for Item<'a> { } } - try!(write!(fmt, "
")); + try!(write!(fmt, "")); // out-of-band try!(write!(fmt, "

\n"));