Patrick Walton <pcwal...@mozilla.com> wrote:
> On 7/20/14 8:12 PM, David Henningsson wrote:
>>  From a language design perspective, maybe it would be more intuitive to
>> have different syntaxes for copy and move, like:

As a rust newbie, that aspect aways makes me a bit nervous. Two quite
different operations with the same syntax and and simply changing a detail
in the struct can be enough to switch between the two.

AFAIK this also was one of the reasons (if not _the_ reason) why
std::auto_ptr was deprecated in C++.

Tobi

_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to