Skip to content

Commit 5769a46

Browse files
committed
No longer put cloudabi condvars in a box.
Cloudabi condvars may be moved safely.
1 parent b181f5a commit 5769a46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/sys/cloudabi/condvar.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub struct Condvar {
1515
condvar: UnsafeCell<AtomicU32>,
1616
}
1717

18-
pub type MovableCondvar = Box<Condvar>;
18+
pub type MovableCondvar = Condvar;
1919

2020
unsafe impl Send for Condvar {}
2121
unsafe impl Sync for Condvar {}

0 commit comments

Comments
 (0)