]> git.lizzy.rs Git - rust.git/blobdiff - library/std/src/sys/hermit/condvar.rs
Don't put hermit condvars in a box.
[rust.git] / library / std / src / sys / hermit / condvar.rs
index b45e8718f088e211a6ebef0f9473054cb70a3470..fa8ef8fc37a95d4ab3a1e4c75bd95346cbb3e042 100644 (file)
@@ -14,7 +14,7 @@ pub struct Condvar {
     sem2: *const c_void,
 }
 
-pub type MovableCondvar = Box<Condvar>;
+pub type MovableCondvar = Condvar;
 
 unsafe impl Send for Condvar {}
 unsafe impl Sync for Condvar {}