about summary refs log tree commit diff
diff options
context:
space:
mode:
authordaxpedda <daxpedda@gmail.com>2023-10-08 10:54:15 +0200
committerdaxpedda <daxpedda@gmail.com>2024-08-08 00:18:19 +0200
commit0732f7d5e1ea2b735db98d53b628e512f8d5a372 (patch)
tree85226760cf145b6f36ed459c4ded74356b6918f9
parentce20e15f01a9dcc4543e8d52b4b281df6c4dbb8e (diff)
downloadrust-0732f7d5e1ea2b735db98d53b628e512f8d5a372.tar.gz
rust-0732f7d5e1ea2b735db98d53b628e512f8d5a372.zip
Stabilize `Ready::into_inner()`
-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 {