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:
Mara Bos 2020-10-01 01:08:51 +02:00
parent 5769a46788
commit 7f56a35411
1 changed files with 1 additions and 1 deletions

View File

@ -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 {