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 2f03867 commit 4f1353eCopy full SHA for 4f1353e
library/std/src/sys/wasm/mutex_atomics.rs
@@ -8,7 +8,7 @@ pub struct Mutex {
8
locked: AtomicUsize,
9
}
10
11
-pub type MovableMutex = Box<Mutex>;
+pub type MovableMutex = Mutex;
12
13
// Mutexes have a pretty simple implementation where they contain an `i32`
14
// internally that is 0 when unlocked and 1 when the mutex is locked.
0 commit comments