-
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
Remove #[doc(hidden)]
from macros in std::prelude.
#83155
Conversation
Seems like this rustdoc bug was fixed.
I just noticed that some of the prelude imports are documented as This just matches how the paths are expressed in code, but it means that the traits that are now imported together with the identically named macros from the core prelude are also documented as |
Maybe we should just do |
Could you mark this PR as closing #63268? |
That seems fine to me, but I think it's a T-libs decision. r=me on this specific change, I'll leave it up to you if you want to change it to a glob reexport. |
Done, good catch! |
The job Click to see the possible cause of the failure (guessed by this bot)
|
Looks like it doesn't work yet for the few macros that are not available anywhere in |
Could you change it so only those macros are marked as doc(hidden) in the meantime? |
Also, if you mark those as doc(inline), does it show the documentation it should? |
Trying out some stuff.. It's quite tricky/impossible to express them all in terms of |
Yes, that works fine. (It does break the link to |
That should be fixed by using |
Closing this, as the issue with |
Seems like this rustdoc bug was fixed.
Fixes #63268.
cc rust-lang/rfcs#3090 (comment)
r? @jyn514