Skip to content
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

Primitive fn implementation list for Debug is ordered pretty much randomly #71859

Closed
KamilaBorowska opened this issue May 3, 2020 · 2 comments
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@KamilaBorowska
Copy link
Contributor

KamilaBorowska commented May 3, 2020

If you check https://doc.rust-lang.org/std/primitive.fn.html, there is no real ordering for Debug implementations.

image

https://doc.rust-lang.org/std/fmt/trait.Debug.html on the other hand has a reasonable ordering for those functions.

I noticed this issue initially on https://www.reddit.com/r/rustjerk/comments/gcdb7m/varargs_at_home/.

@jonas-schievink jonas-schievink added C-enhancement Category: An issue proposing an enhancement or a PR with one. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels May 3, 2020
@GuillaumeGomez
Copy link
Member

They are sorted in the sidebar, but just like the rest of the content outside of the sidebar, it is ordered by the order rustdoc discovers them.

@KamilaBorowska
Copy link
Contributor Author

Fixed in #108080.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants