From 18cc06c848ec2707c3593f8e2ea6e7090e17ff16 Mon Sep 17 00:00:00 2001 From: Mara Bos Date: Wed, 28 Jul 2021 16:54:53 +0200 Subject: [PATCH] Update stable version of ready!() macro. --- library/core/src/task/mod.rs | 2 +- library/core/src/task/ready.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library/core/src/task/mod.rs b/library/core/src/task/mod.rs index 709f48aaa3ecd..5f077f77bbc9f 100644 --- a/library/core/src/task/mod.rs +++ b/library/core/src/task/mod.rs @@ -11,5 +11,5 @@ mod wake; pub use self::wake::{Context, RawWaker, RawWakerVTable, Waker}; mod ready; -#[stable(feature = "ready_macro", since = "1.55.0")] +#[stable(feature = "ready_macro", since = "1.56.0")] pub use ready::ready; diff --git a/library/core/src/task/ready.rs b/library/core/src/task/ready.rs index 3cae76255d161..2834ca5fe2224 100644 --- a/library/core/src/task/ready.rs +++ b/library/core/src/task/ready.rs @@ -45,7 +45,7 @@ /// # Poll::Ready(()) /// # } /// ``` -#[stable(feature = "ready_macro", since = "1.55.0")] +#[stable(feature = "ready_macro", since = "1.56.0")] #[rustc_macro_transparency = "semitransparent"] pub macro ready($e:expr) { match $e {