Skip to content

Int and Integer traits should imply "Ord" #18776

@haberman

Description

@haberman

Right now the Int and Integer traits imply PartialOrd but not Ord.

Is there a reason for this? It seems like integers do have a total order, not just partial. I asked on IRC and people seemed to think Int should imply Ord.

If this is correct I can send a pull request?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions