-
Notifications
You must be signed in to change notification settings - Fork 13.4k
doc: inline collections at reexport module #67346
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
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
Can you just provide a before/after screenshot please? It'll make it easier to check what's going for future readers. Once done I'll r+ it. :) |
I built the rustdoc locally but things don't change before and after this PR. |
pub use self::hash_map::HashMap; | ||
#[stable(feature = "rust1", since = "1.0.0")] | ||
#[doc(inline)] | ||
pub use self::hash_set::HashSet; |
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.
Is there any doc attribute I could use to hide hash_map::HashMap
from search
but leave item at hash_map::HashMap
clickable?
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.
It would require creating a new one. Do you mind creating an issue and tag the rustdoc team on it so we can discuss it please?
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.
I opened #67368 for discussion.
Closed for discussion in #67368. |
For example, when one searchs for "hashmap", there are two results returned.

This PR makes the result to contain only one.