Skip to content

Remove impl Clean for {Ident, Symbol} #86886

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jul 5, 2021
Merged

Conversation

jyn514
Copy link
Member

@jyn514 jyn514 commented Jul 5, 2021

These were only used once, in a place where it was trivial to replace.
Also, it's unclear what 'clean' would mean for these, so it seems better
to be explicit.

Found while reviewing #86841, which makes the same change to build_macro, so the two will conflict.

r? @GuillaumeGomez

These were only used once, in a place where it was trivial to replace.
Also, it's unclear what 'clean' would mean for these, so it seems better
to be explicit.
@jyn514 jyn514 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 Jul 5, 2021
@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 5, 2021
@GuillaumeGomez
Copy link
Member

Looks great, thanks! As for the approval, I'll let it up to you wether you want this PR to be merged first or #86841. ;)

@jyn514
Copy link
Member Author

jyn514 commented Jul 5, 2021

@bors r=GuillaumeGomez (since #86841 needs changes anyway). Feel free to rebase over this if you want both to land at once.

@bors
Copy link
Collaborator

bors commented Jul 5, 2021

📌 Commit 6f931da 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 Jul 5, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 5, 2021
Rollup of 7 pull requests

Successful merges:

 - rust-lang#83581 (Add std::os::unix::fs::DirEntryExt2::file_name_ref(&self) -> &OsStr)
 - rust-lang#85377 (aborts: Clarify documentation and comments)
 - rust-lang#86685 (double-check mutability inside Allocation)
 - rust-lang#86794 (Stabilize `Seek::rewind()`)
 - rust-lang#86852 (Remove some doc aliases)
 - rust-lang#86878 (:arrow_up: rust-analyzer)
 - rust-lang#86886 (Remove `impl Clean for {Ident, Symbol}`)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 952deae into rust-lang:master Jul 5, 2021
@rustbot rustbot added this to the 1.55.0 milestone Jul 5, 2021
@jyn514 jyn514 deleted the no-clean-symbol branch July 5, 2021 21:57
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Jul 12, 2021
rustdoc: remove dead code in `clean`

Builds on rust-lang#86886 and should not be merged before.
# for free to join this conversation on GitHub. Already have an account? # 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.

5 participants