Skip to content

Commit 096efc2

Browse files
committedSep 1, 2022
rustdoc: remove unused CSS #main-content > .since
This rule was added (actually, it was called `#main > .since` back then) with cdca084 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, a5a2f2b 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.
1 parent 332cc8f commit 096efc2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎src/librustdoc/html/static/css/rustdoc.css

-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ details.rustdoc-toggle > summary::before,
216216
div.impl-items > div:not(.docblock):not(.item-info),
217217
.content ul.crate a.crate,
218218
a.srclink,
219-
#main-content > .since,
220219
#help-button > button,
221220
details.rustdoc-toggle.top-doc > summary,
222221
details.rustdoc-toggle.top-doc > summary::before,

0 commit comments

Comments
 (0)
Please sign in to comment.