Y
Hacker News
new
|
ask
|
show
|
jobs
by
kd5bjo
2445 days ago
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.