about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-08-16 23:20:38 +0000
committerbors <bors@rust-lang.org>2024-08-16 23:20:38 +0000
commit67d09736ea4be93216e5e2c37c68a38d7bf99968 (patch)
tree0438f694934360027c778af516064b3b8dae8396
parent506052d49d3903ea554e4ce760cc53610cff4ef5 (diff)
parent0732f7d5e1ea2b735db98d53b628e512f8d5a372 (diff)
downloadrust-67d09736ea4be93216e5e2c37c68a38d7bf99968.tar.gz
rust-67d09736ea4be93216e5e2c37c68a38d7bf99968.zip
Auto merge of #116528 - daxpedda:stabilize-ready-into-inner, r=dtolnay
Stabilize `Ready::into_inner()`

This PR stabilizes `Ready::into_inner()`.

Tracking issue: #101196.
Implementation PR: #101189.

Closes #101196.
-rw-r--r--library/core/src/future/ready.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/core/src/future/ready.rs b/library/core/src/future/ready.rs
index a07b63fb62b..6f6da8ce51d 100644
--- a/library/core/src/future/ready.rs
+++ b/library/core/src/future/ready.rs
@@ -34,13 +34,12 @@ impl<T> Ready<T> {
     /// # Examples
     ///
     /// ```
-    /// #![feature(ready_into_inner)]
     /// use std::future;
     ///
     /// let a = future::ready(1);
     /// assert_eq!(a.into_inner(), 1);
     /// ```
-    #[unstable(feature = "ready_into_inner", issue = "101196")]
+    #[stable(feature = "ready_into_inner", since = "CURRENT_RUSTC_VERSION")]
     #[must_use]
     #[inline]
     pub fn into_inner(self) -> T {