You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These have been recently stabilized in rust-lang/rust#28235. We should at least add support for these to our concrete types.
We may also want to require them in our traits where we already require the basic Add etc., although I'm not sure if that's too much to impose on outside types implementing our traits. It could instead be something new like NumAssign: Num + AddAssign + SubAssign + ...
We'll have to raise our baseline Rust version to 1.8 (once it's released) to support assignment operators, but this feature may be useful enough to finally justify moving up. That would also enable a few other changes we've had blocked on Rust 1.0.