define required type 'MovableMutex'
This commit is contained in:
parent
30c3dadb4d
commit
1741e5b8f5
@ -155,6 +155,8 @@ pub struct Mutex {
|
||||
inner: Spinlock<MutexInner>,
|
||||
}
|
||||
|
||||
pub type MovableMutex = Mutex;
|
||||
|
||||
unsafe impl Send for Mutex {}
|
||||
unsafe impl Sync for Mutex {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user