Skip to content

u32::max / u32::min require OpCapability U8 #147

Open
@Firestar99

Description

@Firestar99

u32::max / u32::min cannot be used as they require OpCapability U8. They should just work out of the box.

Workaround: use u32::clamp() instead.

It's the Ordering enum. it has #[repr(i8)] (with -1, 0, +1 values)

Maybe we should special case the Ordering enum to be a u32?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions