mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 15:06:06 +00:00
Add block-based mutex unlocking example This modifies the existing example in the Mutex docs to show both `drop()` and block based early unlocking. Alternative to #81872, which is getting closed.