News for hackers. Stuff that matters.
Re:Rust – Compile Time Memory Safety by ncmncm on Tuesday April 23, 2019 @10:21AM (#19728854)
No, move constructors are never allowed to call the moved-from argument's destructor. Ever.

Sometimes the compiler calls that destructor after it has finished the move, if the thing is no longer in scope. That should not be confused with a thing happening in the constructor.

There are no comments on this comment yet.