[rust-dev] &self/&mut self in traits considered harmful(?)

Patrick Walton pcwalton at mozilla.com
Thu Jun 12 10:51:25 PDT 2014

On 6/12/14 10:46 AM, Tommi wrote:
> `Copy` types aren't really relevant to a discussion about adding to
> Rust the C++ like optimization of moving rvalues (of non-Copy types)
> when they're passed to certain functions.

There's nothing to add to Rust. Rust supports moves.


More information about the Rust-dev mailing list