rustdoc: remove unused CSS .docblock a:not(.srclink)

This selector was added in c7312fbae4,
because the list of impl items could be nested below `docblock`.

c7312fbae4/src/librustdoc/html/render.rs (L3841-L3845)

Now that rustdoc toggles have been switched to `<details>`, there shouldn't
be any need to put things inside docblock containers just to give them
disclosure toggles.
This commit is contained in:
Michael Howell 2022-10-06 11:20:37 -07:00
parent 2d46584fae
commit 28b26b7aa6

View File

@ -773,8 +773,9 @@ h2.small-section-header > .anchor {
} }
.all-items a:hover, .all-items a:hover,
.docblock a:not(.srclink):not(.test-arrow):not(.scrape-help):hover, .docblock a:not(.test-arrow):not(.scrape-help):hover,
.docblock-short a:not(.srclink):not(.test-arrow):not(.scrape-help):hover, .item-info a { .docblock-short a:not(.test-arrow):not(.scrape-help):hover,
.item-info a {
text-decoration: underline; text-decoration: underline;
} }