Skip to content

Commit

Permalink
Rollup merge of rust-lang#81896 - m-ou-se:oudated-comment, r=Mark-Sim…
Browse files Browse the repository at this point in the history
…ulacrum

Remove outdated comment in windows' mutex.rs

After rust-lang#81250, this `Mutex` no longer falls back to the `ReentrantMutex` implementation, so this comment is no longer relevant.
  • Loading branch information
Dylan-DPC authored Feb 9, 2021
2 parents 78c0153 + 15de287 commit d2e204d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions library/std/src/sys/windows/mutex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ pub struct Mutex {
}

// Windows SRW Locks are movable (while not borrowed).
// ReentrantMutexes (in Inner) are not, but those are stored indirectly through
// a Box, so do not move when the Mutex it self is moved.
pub type MovableMutex = Mutex;

unsafe impl Send for Mutex {}
Expand Down

0 comments on commit d2e204d

Please sign in to comment.