If the `Mul` trait and similar were changed to take `self` by value, perhaps 
the following kind of language design would make more sense:

If a variable of a type that has a destructor is passed to a function by value 
(moved), and the variable is used after the function call, the variable would 
be implicitly cloned before passing it to the function.

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to