-
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: Get rid of clean::TypeKind
#84464
Conversation
r? @CraftSpider (rust-highfive has picked a reviewer for you, use r? to override) |
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.
Only question is, what's the reasoning for keeping ItemType over TypeKind? I'm guessing because TypeKind looks like it was only used as a brief stand-in for ItemType anyways. Otherwise looks good, will approve assuming tests pass.
@CraftSpider rust/src/librustdoc/formats/item_type.rs Line 57 in 7f4afdf
rust/src/librustdoc/formats/item_type.rs Lines 13 to 21 in 7f4afdf
|
@bors r=CraftSpider |
📌 Commit 6c066ab has been approved by |
rustdoc: Get rid of `clean::TypeKind` It does exactly the same thing as ItemType.
rustdoc: Get rid of `clean::TypeKind` It does exactly the same thing as ItemType.
rustdoc: Get rid of `clean::TypeKind` It does exactly the same thing as ItemType.
@bors r- |
This comment has been minimized.
This comment has been minimized.
@bors r=CraftSpider |
📌 Commit d17b79147c580dc94bd9b40e14ca76ce76f9367a has been approved by |
This comment has been minimized.
This comment has been minimized.
@bors r- |
This was missed a while ago when support for proc-macro attributes was first added.
@bors r=CraftSpider |
📌 Commit ab54197 has been approved by |
rustdoc: Get rid of `clean::TypeKind` It does exactly the same thing as ItemType.
rustdoc: Get rid of `clean::TypeKind` It does exactly the same thing as ItemType.
rustdoc: Get rid of `clean::TypeKind` It does exactly the same thing as ItemType.
rustdoc: Get rid of `clean::TypeKind` It does exactly the same thing as ItemType.
Rollup of 8 pull requests Successful merges: - rust-lang#83519 (Implement a lint that highlights all moves larger than a configured limit) - rust-lang#84105 (stabilize `core::array::{from_ref,from_mut}` in `1.53.0`) - rust-lang#84179 (Explicitly implement `!Send` and `!Sync` for `sys::{Args, Env}`) - rust-lang#84427 (Update Clippy) - rust-lang#84459 (rustdoc: Turn `JsonRenderer::mod_item_in` into `unreachable!()`) - rust-lang#84460 (rustdoc: Remove unnecessary `is_crate` field from doctree::Module and clean::Module) - rust-lang#84464 (rustdoc: Get rid of `clean::TypeKind`) - rust-lang#84518 (Clean up DOM strings) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
It does exactly the same thing as ItemType.