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.
This commit is contained in:
parent
5769a46788
commit
7f56a35411
|
@ -3,7 +3,7 @@ use crate::time::Duration;
|
|||
|
||||
pub struct Condvar {}
|
||||
|
||||
pub type MovableCondvar = Box<Condvar>;
|
||||
pub type MovableCondvar = Condvar;
|
||||
|
||||
impl Condvar {
|
||||
pub const fn new() -> Condvar {
|
||||
|
|
Loading…
Reference in New Issue