Skip to content

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

Description

@sugar700

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/.

Activity

  1. added
    C-enhancementCategory: An issue proposing an enhancement or a PR with one.
    T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
    on May 3, 2020
  2. GuillaumeGomez commented on Jul 16, 2020

    @GuillaumeGomez
    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.

  3. sugar700 commented on Jun 13, 2023

    @sugar700
    ContributorAuthor

    Fixed in #108080.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions