Skip to content

Commit 67d0973

Browse files
committed
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.
2 parents 506052d + 0732f7d commit 67d0973

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)