-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
404 link in std docs #29584
Comments
Background for anyone who wants to tackle this:
|
I want to give it a try, however i don't know what is the right way to test changes. How can i build only the related docs? |
Unfortunately, this kind of change is just going to take forever to test. :/
You have to point it at a crate root, not just any rust file. |
:( |
I believe I have an explanation. The I suspect the existing behaviour is working as intended—consider the case of someone putting their |
@ketsuban Thanka for tracking this down! You are right that impls in private modules should generally be displayed since they are public in a sense. But I think the current state of affairs is very unsatisfying, since Rustdoc generates broken docs for perfectly valid code. Shouldn't it at the very least somit links that will wind up dead? And if both trait and implementing type are dic(hidden), as is the case here, it seems like a reasonable heuristic to treat the impl as hidden too. I'm less sure about hidden traits in public types (e.g., RawFloat and f64) but if it's overridable it also seems sensible. |
Putting my real-world-concerns hat on, I think this is really just a corner case where |
The link to "FullOps" on this page is broken: https://doc.rust-lang.org/std/primitive.u32.html
The text was updated successfully, but these errors were encountered: