-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Remove useless clean::Variant
struct
#81033
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
Conversation
The job Click to see the possible cause of the failure (guessed by this bot)
|
7060d07
to
b18240f
Compare
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.
One question about naming, but not a necessary change. Otherwise looks good to me.
@bors r=CraftSpider rollup Thanks for the review! |
📌 Commit 638d4aaafb30052baa8905c6473de44d12e7c8bf has been approved by |
Rollup of 5 pull requests Successful merges: - rust-lang#80254 (Don't try to add nested predicate to Rustdoc auto-trait `ParamEnv`) - rust-lang#80834 (Remove unreachable panics from VecDeque::{front/back}[_mut]) - rust-lang#80944 (Use Option::map_or instead of `.map(..).unwrap_or(..)`) - rust-lang#81008 (Don't ICE when computing a layout of a generator tainted by errors) - rust-lang#81023 (Remove doctree::Variant) Failed merges: - rust-lang#81033 (Remove useless `clean::Variant` struct) r? `@ghost` `@rustbot` modify labels: rollup
☔ The latest upstream changes (presumably #81035) made this pull request unmergeable. Please resolve the merge conflicts. |
It had exactly one field and no special behavior, so there was no point.
There's no `Variant`, so it seems silly to have `Kind`.
638d4aa
to
d11855a
Compare
@bors r=CraftSpider rollup |
📌 Commit d11855a has been approved by |
…laumeGomez Rollup of 6 pull requests Successful merges: - rust-lang#77693 (Add test for rust-lang#59352) - rust-lang#80515 (Improve JS performance by storing length before comparing to it in loops) - rust-lang#81030 (Update mdbook) - rust-lang#81033 (Remove useless `clean::Variant` struct) - rust-lang#81049 (inline: Round word-size cost estimates up) - rust-lang#81054 (Drop a few unneeded borrows) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
It had exactly one field and no special behavior, so there was no point in having it.
r? @CraftSpider