diff --git a/src/librustdoc/html/toc.rs b/src/librustdoc/html/toc.rs index c6d8632082ea7..45c75ccd1ab42 100644 --- a/src/librustdoc/html/toc.rs +++ b/src/librustdoc/html/toc.rs @@ -179,7 +179,7 @@ impl fmt::Show for Toc { // recursively format this table of contents (the // `{children}` is the key). try!(write!(fmt, - "\n
  • {num} {name}{children}
  • ", + "\n
  • {num} {name}{children}
  • ", id = entry.id, num = entry.sec_number, name = entry.name, children = entry.children))