We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent def5188 commit 2f03867Copy full SHA for 2f03867
library/std/src/sys/unsupported/mutex.rs
@@ -4,7 +4,7 @@ pub struct Mutex {
4
locked: UnsafeCell<bool>,
5
}
6
7
-pub type MovableMutex = Box<Mutex>;
+pub type MovableMutex = Mutex;
8
9
unsafe impl Send for Mutex {}
10
unsafe impl Sync for Mutex {} // no threads on this platform
0 commit comments