-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Rust Docs should not include internal crates #23772
Comments
I also feel that we should not have duplicate |
Paring down what shows up in rustdoc is going to be a key step for 1.0 readiness. Nominating P-high, 1.0 polish. triage: I-nominated () |
cc me, ideally there'll be a frob to still specify the old behaviour. rustdoc has been invaluable when I'm spelunking for something. |
@richo Yes indeed, it's important that this is still available in some form for people who want to hack on Rust itself. |
+1 |
I swear there was a pretty old open issue for this already but I can't find it. Also cc #22083 which is important and related. |
This would be addressed for the common Rust user by just removing internal crates (including core) from the docs for the release channel. Nightly users, or at least users of core, and people working on the Rust distribution itself are likely going to want to retain item duplication between core and std because it matters to them. If you initiate your search from std/core then entries in those crates will come first anyway. |
Duplicate of #21297 |
I'll have a PR for this soon (it's testing) |
For example, when I was originally searching for serialize (in the wrong place, I suppose), I got a bunch of internal results. Link to the search.
The text was updated successfully, but these errors were encountered: