Re:C++'s Rule of Zero
by FreeFull on Sunday June 28, 2015 @08:15PM
(#9795724)
In Rust, move semantics are assumed by default, and it's up to the caller to make a copy using .clone() if they want to keep ownership of the value (unless they know Copy is implemented and it's unnecessary, for example for integer types).
[ Parent
| on HN ]
There are no comments on this comment yet.