about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-02-09 02:40:06 +0100
committerGitHub <noreply@github.com>2021-02-09 02:40:06 +0100
commitd2e204d1586e7ecee99a24657f6cbc1a9ac6561d (patch)
tree68e727a8b1b7e5591141f6b879d6d2a2f2a1b23d /library/std/src
parent78c01537576e813e3530cf776f2528bf7c063181 (diff)
parent15de287cd56815f04e27a1fc1721e8de1ababd66 (diff)
downloadrust-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')
-rw-r--r--library/std/src/sys/windows/mutex.rs2
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 {}