about summary refs log tree commit diff
path: root/src/librustdoc/html/render
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-10-17 17:15:51 +0200
committerGitHub <noreply@github.com>2022-10-17 17:15:51 +0200
commite1d72a485a716905560e567c8d2e2a2dbc705341 (patch)
treea42c63c5f3a9e44066abda2da1b5916d94fcfb33 /src/librustdoc/html/render
parentd02a221d318d54adb354bfdfdb88d594c232ae5d (diff)
parentf0371d123868b2a63db886d8549e2d116d58b21f (diff)
downloadrust-e1d72a485a716905560e567c8d2e2a2dbc705341.tar.gz
rust-e1d72a485a716905560e567c8d2e2a2dbc705341.zip
Rollup merge of #103091 - notriddle:notriddle/sidebar-title, r=GuillaumeGomez
rustdoc: remove unused HTML class `sidebar-title`

Since 6a5f8b1aef1417d7dc85b5d0a229d2db1930eb7c, this class is no longer styled.
Diffstat (limited to 'src/librustdoc/html/render')
-rw-r--r--src/librustdoc/html/render/mod.rs8
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(