From b8f7f384f755920dadc41e84d4ef47dac89181a9 Mon Sep 17 00:00:00 2001 From: daxpedda Date: Sun, 8 Oct 2023 10:54:15 +0200 Subject: [PATCH] Stabilize `Ready::into_inner()` --- core/src/future/ready.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/future/ready.rs b/core/src/future/ready.rs index a07b63fb62b90..6f6da8ce51ddf 100644 --- a/core/src/future/ready.rs +++ b/core/src/future/ready.rs @@ -34,13 +34,12 @@ impl Ready { /// # 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 {