diff options
| author | Michael Howell <michael@notriddle.com> | 2022-10-15 10:20:25 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-10-15 11:24:49 -0700 |
| commit | e9b29228045d2dede4ba72c172218286fed60b3b (patch) | |
| tree | 2532f67c3fd3e9bfa802182d908470ef6085735e | |
| parent | b8c35ca26b191bb9a9ac669a4b3f4d3d52d97fb1 (diff) | |
| download | rust-e9b29228045d2dede4ba72c172218286fed60b3b.tar.gz rust-e9b29228045d2dede4ba72c172218286fed60b3b.zip | |
rustdoc: remove unused HTML class `sidebar-title`
Since 6a5f8b1aef1417d7dc85b5d0a229d2db1930eb7c, this class is no longer styled.
| -rw-r--r-- | src/librustdoc/html/render/mod.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/librustdoc/html/render/mod.rs b/src/librustdoc/html/render/mod.rs index 1e162bf314b..cd56d73e7d4 100644 --- a/src/librustdoc/html/render/mod.rs +++ b/src/librustdoc/html/render/mod.rs @@ -2259,13 +2259,7 @@ fn extract_for_impl_name(item: &clean::Item, cx: &Context<'_>) -> Option<(String } fn print_sidebar_title(buf: &mut Buffer, id: &str, title: &str) { - write!( - buf, - "<h3 class=\"sidebar-title\">\ - <a href=\"#{}\">{}</a>\ - </h3>", - id, title - ); + write!(buf, "<h3><a href=\"#{}\">{}</a></h3>", id, title); } fn print_sidebar_block( |
