Skip to content

Ord instances for integer wrappers e.g. U64 #148

Closed
@jjl

Description

@jjl

It would be nice if they could be compared directly rather than having to .get() them before comparison. That would allow deriving Ord over structs using them that are in disk format.

Activity

joshlf

joshlf commented on Dec 3, 2022

@joshlf
Member

If memory serves, I tried this when I initially introduced those wrappers, and it caused a lot of type inference issues. I'll take a stab at it again when I get a chance to confirm that that was the reason.

removed
blocking-next-releaseThis issue should be resolved before we release on crates.io
on Aug 25, 2023
added and removed on Dec 4, 2023
joshlf

joshlf commented on May 3, 2024

@joshlf
Member

Closed in #915.

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jjl@joshlf

        Issue actions

          Ord instances for integer wrappers e.g. U64 · Issue #148 · google/zerocopy