Re:My favorite Rust function
by kd5bjo on Sunday October 13, 2019 @03:34AM
(#21239006)
Rust’s mutex guard has similar semantics, but acts as a amart pointer to the data in the mutex: if you let the guard drop, you no longer have access to the shared data.
[ Parent
| on HN ]
There are no comments on this comment yet.