Skip to content

Commit 0732f7d

Browse files
committed
Stabilize Ready::into_inner()
1 parent ce20e15 commit 0732f7d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

library/core/src/future/ready.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,12 @@ impl<T> Ready<T> {
3434
/// # Examples
3535
///
3636
/// ```
37-
/// #![feature(ready_into_inner)]
3837
/// use std::future;
3938
///
4039
/// let a = future::ready(1);
4140
/// assert_eq!(a.into_inner(), 1);
4241
/// ```
43-
#[unstable(feature = "ready_into_inner", issue = "101196")]
42+
#[stable(feature = "ready_into_inner", since = "CURRENT_RUSTC_VERSION")]
4443
#[must_use]
4544
#[inline]
4645
pub fn into_inner(self) -> T {

0 commit comments

Comments
 (0)