rustdoc: refactor and unstyle inline section headers
This commit is contained in:
parent
a692e9b123
commit
5371146107
3 changed files with 11 additions and 10 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue