diff options
Diffstat (limited to 'library/core/src/task/ready.rs')
| -rw-r--r-- | library/core/src/task/ready.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/library/core/src/task/ready.rs b/library/core/src/task/ready.rs index 174ca675460..b1daf545fbe 100644 --- a/library/core/src/task/ready.rs +++ b/library/core/src/task/ready.rs @@ -13,8 +13,6 @@ use core::task::Poll; /// # Examples /// /// ``` -/// #![feature(ready_macro)] -/// /// use std::task::{ready, Context, Poll}; /// use std::future::{self, Future}; /// use std::pin::Pin; @@ -34,7 +32,6 @@ use core::task::Poll; /// The `ready!` call expands to: /// /// ``` -/// # #![feature(ready_macro)] /// # use std::task::{Context, Poll}; /// # use std::future::{self, Future}; /// # use std::pin::Pin; @@ -53,7 +50,7 @@ use core::task::Poll; /// # Poll::Ready(()) /// # } /// ``` -#[unstable(feature = "ready_macro", issue = "70922")] +#[stable(feature = "ready_macro", since = "1.64.0")] #[rustc_macro_transparency = "semitransparent"] pub macro ready($e:expr) { match $e { |
