Skip to content

Commit

Permalink
Auto merge of #100576 - joboet:movable_const_remutex, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Sep 4, 2022
2 parents 1dcab8d + 914d880 commit 3ffb71e
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 3ffb71e

Please sign in to comment.