Amend arith-oflo with wrapping_neg
in the WrappingOps
trait
#963
Labels
T-libs-api
Relevant to the library API team, which will review and decide on the RFC.
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.)
The text was updated successfully, but these errors were encountered: