mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 13:07:34 +00:00
Simplify `Mutex::into_inner` Thanks to #77147, `Mutex` do not implement `Drop` directly, so the old unsafe implementation of `into_inner` is not relevant anymore.