File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -11,5 +11,5 @@ mod wake;
11
11
pub use self :: wake:: { Context , RawWaker , RawWakerVTable , Waker } ;
12
12
13
13
mod ready;
14
- #[ stable ( feature = "ready_macro" , since = "1.56.0 " ) ]
14
+ #[ unstable ( feature = "ready_macro" , issue = "70922 " ) ]
15
15
pub use ready:: ready;
Original file line number Diff line number Diff line change 8
8
/// # Examples
9
9
///
10
10
/// ```
11
+ /// #![feature(ready_macro)]
12
+ ///
11
13
/// use std::task::{ready, Context, Poll};
12
14
/// use std::future::{self, Future};
13
15
/// use std::pin::Pin;
27
29
/// The `ready!` call expands to:
28
30
///
29
31
/// ```
32
+ /// # #![feature(ready_macro)]
30
33
/// # use std::task::{Context, Poll};
31
34
/// # use std::future::{self, Future};
32
35
/// # use std::pin::Pin;
45
48
/// # Poll::Ready(())
46
49
/// # }
47
50
/// ```
48
- #[ stable ( feature = "ready_macro" , since = "1.56.0 " ) ]
51
+ #[ unstable ( feature = "ready_macro" , issue = "70922 " ) ]
49
52
#[ rustc_macro_transparency = "semitransparent" ]
50
53
pub macro ready ( $e: expr) {
51
54
match $e {
You can’t perform that action at this time.
0 commit comments