diff --git a/library/std/src/sys/wasm/mutex_atomics.rs b/library/std/src/sys/wasm/mutex_atomics.rs index 5d45efe19c2..2970fcf806c 100644 --- a/library/std/src/sys/wasm/mutex_atomics.rs +++ b/library/std/src/sys/wasm/mutex_atomics.rs @@ -8,7 +8,7 @@ pub struct Mutex { locked: AtomicUsize, } -pub type MovableMutex = Box; +pub type MovableMutex = Mutex; // Mutexes have a pretty simple implementation where they contain an `i32` // internally that is 0 when unlocked and 1 when the mutex is locked.