Don't put hermit rwlocks in a box.
Hermit rwlocks are movable.
This commit is contained in:
parent
13d6c5c90c
commit
fe56e8961f
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ pub struct RWLock {
|
|||
state: UnsafeCell<State>,
|
||||
}
|
||||
|
||||
pub type MovableRWLock = Box<RWLock>;
|
||||
pub type MovableRWLock = RWLock;
|
||||
|
||||
enum State {
|
||||
Unlocked,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue