mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
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 struct Condvar {}
|
||||||
|
|
||||||
pub type MovableCondvar = Box<Condvar>;
|
pub type MovableCondvar = Condvar;
|
||||||
|
|
||||||
impl Condvar {
|
impl Condvar {
|
||||||
pub const fn new() -> Condvar {
|
pub const fn new() -> Condvar {
|
||||||
|
Loading…
Reference in New Issue
Block a user