Skip to content

Consider modifying the Mul<Self, Output = Self> bound on WrappingMulΒ #344

Open
@aerkiaga

Description

@aerkiaga

Currently, the WrappingMul trait has a Mul<Self, Output = Self> bound on it. This is incompatible with compile-time large numeric types types that use const generics to increase their width upon multiplication rather than panicking or overflowing, but which may still want to provide a wrapping version of the operation. I propose removing the Output = Self associated type bound from it.

This is not a breaking change.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions