Re:Thread Safety in C++ and Rust
by afiori on Sunday December 19, 2021 @04:36AM
(#29612595)
to be pedantic &mut is still a borrow not ownership, as another simplification the difference is that &mut can modify a value but must keep the borrowed value in a valid state, while full ownership can destroy a value
[ Parent
| on HN ]
There are no comments on this comment yet.