diff options
| author | Michael Howell <michael@notriddle.com> | 2022-09-01 13:06:24 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-09-01 15:25:22 -0700 |
| commit | 096efc29f1be25daca6675f5f7684780ff294613 (patch) | |
| tree | 8bfdcf2c979b10ba28173598c634be2fb6fd6c5a /src/librustdoc/html/static/css | |
| parent | 332cc8fb752fe98c21837ed6f3571f6adb0d08b8 (diff) | |
| download | rust-096efc29f1be25daca6675f5f7684780ff294613.tar.gz rust-096efc29f1be25daca6675f5f7684780ff294613.zip | |
rustdoc: remove unused CSS `#main-content > .since`
This rule was added (actually, it was called `#main > .since` back then) with cdca0843779eed0b9046e9fee48c91458ad51605 and you can see an example of the bug it's intended to fix in <https://doc.rust-lang.org/1.9.0/std/fmt/fn.write.html> by looking at the `1.0.0` version marker. However, a5a2f2b951ea982a666eaf52b1874d8f1b17290b changed it so that `<span class="since">` is always placed in an out-of-band wrapper, so it's never nested directly below `#main` / `#main-content` any more.
Diffstat (limited to 'src/librustdoc/html/static/css')
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index deed6eaf0cb..3198347ce7f 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -216,7 +216,6 @@ details.rustdoc-toggle > summary::before, div.impl-items > div:not(.docblock):not(.item-info), .content ul.crate a.crate, a.srclink, -#main-content > .since, #help-button > button, details.rustdoc-toggle.top-doc > summary, details.rustdoc-toggle.top-doc > summary::before, |
