mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +03:00
e7cdd4c090
Make `ReentrantMutex` movable and `const` As `MovableMutex` is now `const`, it can be used to simplify the implementation and interface of the internal reentrant mutex type. Consequently, the standard error stream does not need to be wrapped in `OnceLock` and `OnceLock::get_or_init_pin()` can be removed.