-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustdoc: Rename internal uses of spotlight
#83756
Conversation
Some changes occurred in HTML/CSS/JS. |
(rust-highfive has picked a reviewer for you, use r? to override) |
There are conflicts, but I'll wait to fix them until after #80965 lands. I mainly opened this PR so I don't forget to do the renames :) |
c086e5c
to
13e8573
Compare
Rebased because #80965 has now merged. Ready for review! |
@@ -173,13 +173,10 @@ code, pre, a.test-arrow { | |||
border-radius: 3px; | |||
padding: 0 0.1em; | |||
} | |||
.docblock pre code, .docblock-short pre code, .docblock code.spotlight { | |||
.docblock pre code, .docblock-short pre code { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't it be:
.docblock pre code, .docblock-short pre code { | |
.docblock pre code, .docblock-short pre code, .docblock code.notable { |
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See the commit message in 1fe0fe4. The classes appear to be unused.
padding: 0; | ||
padding-right: 1ex; | ||
} | ||
.docblock code.spotlight :last-child { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment has been minimized.
This comment has been minimized.
I didn't make these renames in rust-lang#80965 because I didn't want the PR to conflict with rust-lang#80914.
I couldn't find any uses of this CSS. I think it was superseded by the `.notable-traits` CSS class and other similarly-named CSS classes.
13e8573
to
1fe0fe4
Compare
You're right: both CSS classes are now unused. Then it's all good for me, thanks! @bors: r+ rollup |
📌 Commit 1fe0fe4 has been approved by |
Rollup of 7 pull requests Successful merges: - rust-lang#82487 (Constify methods of `std::net::SocketAddr`, `SocketAddrV4` and `SocketAddrV6`) - rust-lang#83756 (rustdoc: Rename internal uses of `spotlight`) - rust-lang#83780 (Document "standard" conventions for error messages) - rust-lang#83787 (Monomorphization doc fix) - rust-lang#83803 (add fp-armv8 for ARM_ALLOWED_FEATURES) - rust-lang#83804 (Remove nightly features in rustc_type_ir) - rust-lang#83810 (Fix rustc_lint_defs documentation typo) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
I didn't make these renames in #80965 because I didn't want the PR to
conflict with #80914.