diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2021-02-09 02:40:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-09 02:40:06 +0100 |
| commit | d2e204d1586e7ecee99a24657f6cbc1a9ac6561d (patch) | |
| tree | 68e727a8b1b7e5591141f6b879d6d2a2f2a1b23d /library/std/src/sys/windows/mutex.rs | |
| parent | 78c01537576e813e3530cf776f2528bf7c063181 (diff) | |
| parent | 15de287cd56815f04e27a1fc1721e8de1ababd66 (diff) | |
| download | rust-d2e204d1586e7ecee99a24657f6cbc1a9ac6561d.tar.gz rust-d2e204d1586e7ecee99a24657f6cbc1a9ac6561d.zip | |
Rollup merge of #81896 - m-ou-se:oudated-comment, r=Mark-Simulacrum
Remove outdated comment in windows' mutex.rs After https://github.com/rust-lang/rust/pull/81250, this `Mutex` no longer falls back to the `ReentrantMutex` implementation, so this comment is no longer relevant.
Diffstat (limited to 'library/std/src/sys/windows/mutex.rs')
| -rw-r--r-- | library/std/src/sys/windows/mutex.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/library/std/src/sys/windows/mutex.rs b/library/std/src/sys/windows/mutex.rs index 72a0993d94d..12c5ea741f9 100644 --- a/library/std/src/sys/windows/mutex.rs +++ b/library/std/src/sys/windows/mutex.rs @@ -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 {} |
