No longer put cloudabi condvars in a box.

Cloudabi condvars may be moved safely.
This commit is contained in:
Mara Bos 2020-10-01 01:07:56 +02:00
parent b181f5a923
commit 5769a46788
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ pub struct Condvar {
condvar: UnsafeCell<AtomicU32>,
}
pub type MovableCondvar = Box<Condvar>;
pub type MovableCondvar = Condvar;
unsafe impl Send for Condvar {}
unsafe impl Sync for Condvar {}