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,7 +11,7 @@ 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;
16
16
#[ unstable( feature = "poll_ready" , issue = "none" ) ]
17
17
pub use ready:: Ready ;
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ use core::task::Poll;
13
13
/// # Examples
14
14
///
15
15
/// ```
16
+ /// #![feature(ready_macro)]
17
+ ///
16
18
/// use std::task::{ready, Context, Poll};
17
19
/// use std::future::{self, Future};
18
20
/// use std::pin::Pin;
@@ -32,6 +34,7 @@ use core::task::Poll;
32
34
/// The `ready!` call expands to:
33
35
///
34
36
/// ```
37
+ /// # #![feature(ready_macro)]
35
38
/// # use std::task::{Context, Poll};
36
39
/// # use std::future::{self, Future};
37
40
/// # use std::pin::Pin;
@@ -50,7 +53,7 @@ use core::task::Poll;
50
53
/// # Poll::Ready(())
51
54
/// # }
52
55
/// ```
53
- #[ stable ( feature = "ready_macro" , since = "1.56.0 " ) ]
56
+ #[ unstable ( feature = "ready_macro" , issue = "70922 " ) ]
54
57
#[ rustc_macro_transparency = "semitransparent" ]
55
58
pub macro ready ( $e: expr) {
56
59
match $e {
You can’t perform that action at this time.
0 commit comments