diff options
Diffstat (limited to 'src/librustdoc/html/toc.rs')
| -rw-r--r-- | src/librustdoc/html/toc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/toc.rs b/src/librustdoc/html/toc.rs index c6d8632082e..45c75ccd1ab 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<li><a href=\"\\#{id}\">{num} {name}</a>{children}</li>", + "\n<li><a href=\"#{id}\">{num} {name}</a>{children}</li>", id = entry.id, num = entry.sec_number, name = entry.name, children = entry.children)) |
