Skip to content
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 cleanup #85175

Merged
merged 3 commits into from
May 13, 2021
Merged

Rustdoc cleanup #85175

merged 3 commits into from
May 13, 2021

Conversation

GuillaumeGomez
Copy link
Member

@GuillaumeGomez GuillaumeGomez commented May 11, 2021

Part of #83332. The goal of this PR is to remove a few unused things:

  • The "loading content" things are now unneeded.
  • Some toggle CSS rules were still there.
  • Some parts of the JS had a different indent, fixed it.

r? @jsha

@GuillaumeGomez GuillaumeGomez added C-cleanup Category: PRs that clean code up or issues documenting cleanup. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels May 11, 2021
@rust-highfive
Copy link
Collaborator

Some changes occurred in HTML/CSS themes.

cc @GuillaumeGomez

A change occurred in the Ayu theme.

cc @Cldfire

Some changes occurred in HTML/CSS/JS.

cc @GuillaumeGomez

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 11, 2021
@@ -600,7 +596,6 @@ fn item_trait(w: &mut Buffer, cx: &Context<'_>, it: &clean::Item, t: &clean::Tra
for t in types {
trait_item(w, cx, t, it);
}
write_loading_content(w, "</div>");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The </div> itself still need to be there, doesn't it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, good catch!

Copy link
Contributor

@jsha jsha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good to me, though I concur with @notriddle's observation that we still need those </divs>.

@GuillaumeGomez
Copy link
Member Author

Fixed @notriddle's comment!

@jsha
Copy link
Contributor

jsha commented May 12, 2021

@bors r+

@bors
Copy link
Contributor

bors commented May 12, 2021

📌 Commit cb91c6f has been approved by jsha

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 12, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request May 13, 2021
…laumeGomez

Rollup of 4 pull requests

Successful merges:

 - rust-lang#85068 (Fix diagnostic for cross crate private tuple struct constructors)
 - rust-lang#85175 (Rustdoc cleanup)
 - rust-lang#85177 (add BITS associated constant to core::num::Wrapping)
 - rust-lang#85240 (Don't suggest adding `'static` lifetime to arguments)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 5aa40dd into rust-lang:master May 13, 2021
@rustbot rustbot added this to the 1.54.0 milestone May 13, 2021
@GuillaumeGomez GuillaumeGomez deleted the rustdoc-cleanup branch May 13, 2021 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants