News for hackers. Stuff that matters.
Re:Beginner's guide to error handling in Rust by saghm on Sunday July 10, 2022 @03:07PM (#32047848)
> 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.

There are no comments on this comment yet.