Skip to content

Documentation: sorting impls for structs: first crate's own impls, then std impls #124826

Open
@rodrigocfd

Description

@rodrigocfd

Problem

When we generate the documentation for a crate, all the crate implementations are sorted alphabetically. The crate's own traits and the std traits are all mixed together.

trait-order

Proposed Solution

List first the crate's own traits, alphabetically. Then followed by std traits, alphabetically.

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.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