define required type 'MovableMutex'
This commit is contained in:
parent
30c3dadb4d
commit
1741e5b8f5
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue