Skip to content

Commit 1741e5b

Browse files
committed
define required type 'MovableMutex'
1 parent 30c3dad commit 1741e5b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library/std/src/sys/hermit/mutex.rs

+2
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ pub struct Mutex {
155155
inner: Spinlock<MutexInner>,
156156
}
157157

158+
pub type MovableMutex = Mutex;
159+
158160
unsafe impl Send for Mutex {}
159161
unsafe impl Sync for Mutex {}
160162

0 commit comments

Comments
 (0)