File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ mod wake;
1111pub use self :: wake:: { Context , RawWaker , RawWakerVTable , Waker } ;
1212
1313mod ready;
14- #[ stable ( feature = "ready_macro" , since = "1.56.0 " ) ]
14+ #[ unstable ( feature = "ready_macro" , issue = "70922 " ) ]
1515pub use ready:: ready;
1616#[ unstable( feature = "poll_ready" , issue = "none" ) ]
1717pub use ready:: Ready ;
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ use core::task::Poll;
1313/// # Examples
1414///
1515/// ```
16+ /// #![feature(ready_macro)]
17+ ///
1618/// use std::task::{ready, Context, Poll};
1719/// use std::future::{self, Future};
1820/// use std::pin::Pin;
@@ -32,6 +34,7 @@ use core::task::Poll;
3234/// The `ready!` call expands to:
3335///
3436/// ```
37+ /// # #![feature(ready_macro)]
3538/// # use std::task::{Context, Poll};
3639/// # use std::future::{self, Future};
3740/// # use std::pin::Pin;
@@ -50,7 +53,7 @@ use core::task::Poll;
5053/// # Poll::Ready(())
5154/// # }
5255/// ```
53- #[ stable ( feature = "ready_macro" , since = "1.56.0 " ) ]
56+ #[ unstable ( feature = "ready_macro" , issue = "70922 " ) ]
5457#[ rustc_macro_transparency = "semitransparent" ]
5558pub macro ready ( $e: expr) {
5659 match $e {
You can’t perform that action at this time.
0 commit comments