Skip to content

fix rustdoc generic param order #74992

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

Merged
merged 1 commit into from
Aug 2, 2020
Merged

Conversation

lcnr
Copy link
Contributor

@lcnr lcnr commented Jul 31, 2020

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 31, 2020
Comment on lines -122 to -129
for param in &mut params {
match param.kind {
clean::GenericParamDefKind::Type { ref mut bounds, .. } => {
*bounds = mem::take(bounds);
}
_ => panic!("expected only type parameters"),
}
}
Copy link
Contributor Author

@lcnr lcnr Jul 31, 2020

Choose a reason for hiding this comment

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

Am I missing something here?

@GuillaumeGomez
Copy link
Member

Looks good to me! It even simplifies the code so that's great. 👍

@bors: r+

@bors
Copy link
Collaborator

bors commented Aug 1, 2020

📌 Commit b90bc8d has been approved by GuillaumeGomez

@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 Aug 1, 2020
@bors
Copy link
Collaborator

bors commented Aug 1, 2020

⌛ Testing commit b90bc8d with merge 5720e5675920c1f6ca4664c8f13ce75af150bcab...

@ollie27 ollie27 added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Aug 1, 2020
@Manishearth
Copy link
Member

Hmm, surprised that CI builds are taking three hours again

@bors
Copy link
Collaborator

bors commented Aug 1, 2020

💥 Test timed out

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Aug 1, 2020
@lcnr
Copy link
Contributor Author

lcnr commented Aug 1, 2020

Let's see if this was spurious I guess

@bors r=GuillaumeGomez

@bors
Copy link
Collaborator

bors commented Aug 1, 2020

💡 This pull request was already approved, no need to approve it again.

  • This pull request previously failed. You should add more commits to fix the bug, or use retry to trigger a build again.

@bors
Copy link
Collaborator

bors commented Aug 1, 2020

📌 Commit b90bc8d has been approved by GuillaumeGomez

@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 Aug 1, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 2, 2020
…arth

Rollup of 5 pull requests

Successful merges:

 - rust-lang#74602 (Clarify the doc for MaybeUninit::zeroed on incorrect use)
 - rust-lang#74720 (Clean up E0728 explanation)
 - rust-lang#74992 (fix rustdoc generic param order)
 - rust-lang#75015 (Add Vec::spare_capacity_mut)
 - rust-lang#75022 (Use a slice pattern instead of rchunks_exact(_).next())

Failed merges:

r? @ghost
@bors bors merged commit 98a9397 into rust-lang:master Aug 2, 2020
@lcnr lcnr deleted the fix-generic-param-order branch August 2, 2020 06:29
@cuviper cuviper added this to the 1.47.0 milestone May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

Send/Sync type parameters come after const parameters in docs
8 participants