Skip to content

Implement Ord for mem::Discriminant #51561

Closed
@MoSal

Description

@MoSal

Sorting a collection by variant can be useful. For example, to implement PartialEq in a simple way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-libs-apiRelevant to the library API 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