about summary refs log tree commit diff
path: root/src/librustdoc/html/render/mod.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-11-29 13:38:56 -0700
committerMichael Howell <michael@notriddle.com>2023-11-29 13:40:07 -0700
commitc910a49b05ed2edac0a989efa53e6468148bf0f7 (patch)
treeeb53b88b72e78b327099c13db036d18530cc35a5 /src/librustdoc/html/render/mod.rs
parentb10cfcd65fd7f7b1ab9beb34798b2108de003452 (diff)
downloadrust-c910a49b05ed2edac0a989efa53e6468148bf0f7.tar.gz
rust-c910a49b05ed2edac0a989efa53e6468148bf0f7.zip
rustdoc: remove small from `small-section-header`
There's no such thing as a big section header, so I don't know why the
name was used.
Diffstat (limited to 'src/librustdoc/html/render/mod.rs')
-rw-r--r--src/librustdoc/html/render/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render/mod.rs b/src/librustdoc/html/render/mod.rs
index 348d546c236..51ec33bd832 100644
--- a/src/librustdoc/html/render/mod.rs
+++ b/src/librustdoc/html/render/mod.rs
@@ -1145,7 +1145,7 @@ impl<'a> AssocItemLink<'a> {
 fn write_impl_section_heading(mut w: impl fmt::Write, title: &str, id: &str) {
     write!(
         w,
-        "<h2 id=\"{id}\" class=\"small-section-header\">\
+        "<h2 id=\"{id}\" class=\"section-header\">\
             {title}\
             <a href=\"#{id}\" class=\"anchor\">ยง</a>\
          </h2>"