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,5 +11,5 @@ 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;
Original file line number Diff line number Diff line change 88/// # Examples
99///
1010/// ```
11+ /// #![feature(ready_macro)]
12+ ///
1113/// use std::task::{ready, Context, Poll};
1214/// use std::future::{self, Future};
1315/// use std::pin::Pin;
2729/// The `ready!` call expands to:
2830///
2931/// ```
32+ /// # #![feature(ready_macro)]
3033/// # use std::task::{Context, Poll};
3134/// # use std::future::{self, Future};
3235/// # use std::pin::Pin;
4548/// # Poll::Ready(())
4649/// # }
4750/// ```
48- #[ stable ( feature = "ready_macro" , since = "1.56.0 " ) ]
51+ #[ unstable ( feature = "ready_macro" , issue = "70922 " ) ]
4952#[ rustc_macro_transparency = "semitransparent" ]
5053pub macro ready ( $e: expr) {
5154 match $e {
You can’t perform that action at this time.
0 commit comments