-
Notifications
You must be signed in to change notification settings - Fork 13k
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 renders associated constants poorly #44348
Comments
FTR, original implementation was in #39944 and current design suggested in #39944 (comment) |
Seems like it has been fixed by #39944 so I close. |
@GuillaumeGomez That was the pull request that introduced this bug, not the one that fixed it. Please re-open this issue. |
Why are definitions of constants even printed? This leaks implementation details about how opaque wrappers etc are defined. Could we instead display them only if |
…Misdreavus Don't show associated const value anymore Part of #44348. Before: <img width="1440" alt="screen shot 2018-08-16 at 00 48 30" src="https://user-images.githubusercontent.com/3050060/44177414-20ef1480-a0ee-11e8-80d4-7caf082cf0de.png"> After: <img width="1440" alt="screen shot 2018-08-16 at 00 48 23" src="https://user-images.githubusercontent.com/3050060/44177417-251b3200-a0ee-11e8-956a-4229275e3342.png"> cc @nox r? @QuietMisdreavus
I think we can consider this fixed by #53409. |
We recently changed Diesel to use associated constants in a few places, and noticed that our docs look a lot worse as a result.
It stands out far too much, and looks nothing like any other section of the docs related to traits. It'd be great if the definition could be inlined and look the same as it does for associated types.
The text was updated successfully, but these errors were encountered: