[rust-dev] &self/&mut self in traits considered harmful(?)
romanovda at gmail.com
Thu Jun 12 11:05:25 PDT 2014
Sorry, Im a little new to Rust, but I'm,as many, now considering moving
from c++ to Rust and the topic is really important for my tasks.
Could you give an Rust example for the concern listed above?
On Jun 12, 2014 9:51 PM, "Patrick Walton" <pcwalton at mozilla.com> wrote:
> 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.
> Rust-dev mailing list
> Rust-dev at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rust-dev