Skip to content

Amend arith-oflo with wrapping_neg in the WrappingOps trait #963

@pnkfelix

Description

@pnkfelix

The tracking issue for RFC #560 , namely rust-lang/rust#22020, mentions implementing a wrapping_neg method, but no such method is part of the trait as defined in the RFC.

(Presumably just an oversight.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-libs-apiRelevant to the library API team, which will review and decide on the RFC.

    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