|
|
|
|
|
by saghm
1444 days ago
|
|
> So what helps, in my opinion, is to think of Rust as using `std::move` as a default Even more than that, with the exception of types that implement `Copy` (e.g. bools, integers, etc.), using after a move won't just silently degrade to a copy, but will cause a compiler error. Copying is required to be explicit for all but the most trivial types. |
|