Don't put hermit rwlocks in a box.

Hermit rwlocks are movable.
This commit is contained in:
Martin Kröning 2021-06-18 13:52:13 +02:00 committed by Stefan Lankes
parent 13d6c5c90c
commit fe56e8961f

View File

@ -8,7 +8,7 @@ pub struct RWLock {
state: UnsafeCell<State>,
}
pub type MovableRWLock = Box<RWLock>;
pub type MovableRWLock = RWLock;
enum State {
Unlocked,