1
Fork 0

rustdoc: refactor and unstyle inline section headers

This commit is contained in:
Adrien Tétar 2014-04-26 21:09:19 +09:00
parent a692e9b123
commit 5371146107
3 changed files with 11 additions and 10 deletions

View file

@ -1121,7 +1121,7 @@ fn item_module(w: &mut Writer, cx: &Context,
clean::MacroItem(..) => ("macros", "Macros"),
};
try!(write!(w,
"<h2 id='{id}' class='section-link'>\
"<h2 id='{id}' class='section-header'>\
<a href=\"\\#{id}\">{name}</a></h2>\n<table>",
id = short, name = name));
}