Skip to content

Commit

Permalink
define required type 'MovableMutex'
Browse files Browse the repository at this point in the history
  • Loading branch information
stlankes committed Oct 12, 2020
1 parent 30c3dad commit 1741e5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/std/src/sys/hermit/mutex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ pub struct Mutex {
inner: Spinlock<MutexInner>,
}

pub type MovableMutex = Mutex;

unsafe impl Send for Mutex {}
unsafe impl Sync for Mutex {}

Expand Down

0 comments on commit 1741e5b

Please sign in to comment.