diff options
| -rw-r--r-- | library/core/src/future/ready.rs | 3 |
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 { |
