Skip to content

Commit e9b2922

Browse files
committed
rustdoc: remove unused HTML class sidebar-title
Since 6a5f8b1, this class is no longer styled.
1 parent b8c35ca commit e9b2922

File tree

1 file changed

+1
-7
lines changed
  • src/librustdoc/html/render

1 file changed

+1
-7
lines changed

src/librustdoc/html/render/mod.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2259,13 +2259,7 @@ fn extract_for_impl_name(item: &clean::Item, cx: &Context<'_>) -> Option<(String
22592259
}
22602260

22612261
fn print_sidebar_title(buf: &mut Buffer, id: &str, title: &str) {
2262-
write!(
2263-
buf,
2264-
"<h3 class=\"sidebar-title\">\
2265-
<a href=\"#{}\">{}</a>\
2266-
</h3>",
2267-
id, title
2268-
);
2262+
write!(buf, "<h3><a href=\"#{}\">{}</a></h3>", id, title);
22692263
}
22702264

22712265
fn print_sidebar_block(

0 commit comments

Comments
 (0)