Closed japaric closed 9 years ago
Blocked on: rust-lang/rfcs#439. This needs Add/Sub that take their arguments by value.
Add
Sub
The +/- will become sugar for { lhs += rhs; lhs}. All these combinations should work:
+
-
{ lhs += rhs; lhs}
Owned
&Owned
View
View.to_owned()
Blocked on: rust-lang/rfcs#439. This needs
Add
/Sub
that take their arguments by value.The
+
/-
will become sugar for{ lhs += rhs; lhs}
. All these combinations should work:Owned
+&Owned
Owned
+View
View.to_owned()
+View