Skip to content

Commit d2e204d

Browse files
authored
Rollup merge of rust-lang#81896 - m-ou-se:oudated-comment, r=Mark-Simulacrum
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.
2 parents 78c0153 + 15de287 commit d2e204d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

library/std/src/sys/windows/mutex.rs

-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ pub struct Mutex {
2323
}
2424

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

3028
unsafe impl Send for Mutex {}

0 commit comments

Comments
 (0)