define required type 'MovableMutex'

This commit is contained in:
Stefan Lankes 2020-10-12 06:54:48 +02:00
parent 30c3dadb4d
commit 1741e5b8f5
No known key found for this signature in database
GPG Key ID: 28578EBB789EF62B

View File

@ -155,6 +155,8 @@ pub struct Mutex {
inner: Spinlock<MutexInner>,
}
pub type MovableMutex = Mutex;
unsafe impl Send for Mutex {}
unsafe impl Sync for Mutex {}