Skip to content

Commit 7f56a35

Browse files
committed
No longer put condvars on the 'unsupported' platform in a box.
These condvars are unsupported and implemented as a ZST, so can be moved without problems.
1 parent 5769a46 commit 7f56a35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use crate::time::Duration;
33

44
pub struct Condvar {}
55

6-
pub type MovableCondvar = Box<Condvar>;
6+
pub type MovableCondvar = Condvar;
77

88
impl Condvar {
99
pub const fn new() -> Condvar {

0 commit comments

Comments
 (0)