Skip to content

Commit 8c91805

Browse files
committed
Stabilize core::task::ready!
1 parent b2b7c85 commit 8c91805

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

library/core/src/task/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ mod wake;
1111
pub use self::wake::{Context, RawWaker, RawWakerVTable, Waker};
1212

1313
mod ready;
14-
#[unstable(feature = "ready_macro", issue = "70922")]
14+
#[stable(feature = "ready_macro", since = "1.55.0")]
1515
pub use ready::ready;

library/core/src/task/ready.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
/// # Examples
99
///
1010
/// ```
11-
/// #![feature(ready_macro)]
12-
///
1311
/// use std::task::{ready, Context, Poll};
1412
/// use std::future::{self, Future};
1513
/// use std::pin::Pin;
@@ -29,8 +27,6 @@
2927
/// The `ready!` call expands to:
3028
///
3129
/// ```
32-
/// # #![feature(ready_macro)]
33-
/// #
3430
/// # use std::task::{Context, Poll};
3531
/// # use std::future::{self, Future};
3632
/// # use std::pin::Pin;
@@ -49,7 +45,7 @@
4945
/// # Poll::Ready(())
5046
/// # }
5147
/// ```
52-
#[unstable(feature = "ready_macro", issue = "70922")]
48+
#[stable(feature = "ready_macro", since = "1.55.0")]
5349
#[rustc_macro_transparency = "semitransparent"]
5450
pub macro ready($e:expr) {
5551
match $e {

library/std/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,6 @@
304304
#![feature(pin_static_ref)]
305305
#![feature(prelude_import)]
306306
#![feature(ptr_internals)]
307-
#![feature(ready_macro)]
308307
#![feature(rustc_attrs)]
309308
#![feature(rustc_private)]
310309
#![feature(shrink_to)]

0 commit comments

Comments
 (0)