Skip to content

Commit 3880925

Browse files
Rollup merge of #101298 - notriddle:notriddle/rustdoc-main-since, r=GuillaumeGomez
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.
2 parents 4c1b6b5 + 096efc2 commit 3880925

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
@@ -215,7 +215,6 @@ details.rustdoc-toggle > summary::before,
215215
div.impl-items > div:not(.docblock):not(.item-info),
216216
.content ul.crate a.crate,
217217
a.srclink,
218-
#main-content > .since,
219218
#help-button > button,
220219
details.rustdoc-toggle.top-doc > summary,
221220
details.rustdoc-toggle.top-doc > summary::before,

0 commit comments

Comments
 (0)