Skip to content

Implement OpAssign traits with references on the right hand side #32094

Closed
@bluss

Description

@bluss

AddAssign and the others are only implemented for equal right hand side arguments. AddAssign<u32> for u32 works well for integers, but the by reference Rhs implementation is important too, so that bigints and other non-Copy data types can have some interface in common with the primitive number types.

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