Skip to content

Commit f45ebe4

Browse files
mkroeningstlankes
authored andcommitted
Don't put hermit condvars in a box.
Hermit condvars are movable.
1 parent fe56e89 commit f45ebe4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub struct Condvar {
1414
sem2: *const c_void,
1515
}
1616

17-
pub type MovableCondvar = Box<Condvar>;
17+
pub type MovableCondvar = Condvar;
1818

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

0 commit comments

Comments
 (0)