Skip to content

Commit 7467db0

Browse files
committed
Stabilize Pin::as_deref_mut
1 parent c6db1ca commit 7467db0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/pin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1417,7 +1417,7 @@ impl<Ptr: Deref> Pin<Ptr> {
14171417
/// move in the future, and this method does not enable the pointee to move. "Malicious"
14181418
/// implementations of `Ptr::DerefMut` are likewise ruled out by the contract of
14191419
/// `Pin::new_unchecked`.
1420-
#[unstable(feature = "pin_deref_mut", issue = "86918")]
1420+
#[stable(feature = "pin_deref_mut", since = "CURRENT_RUSTC_VERSION")]
14211421
#[must_use = "`self` will be dropped if the result is not used"]
14221422
#[inline(always)]
14231423
pub fn as_deref_mut(self: Pin<&mut Pin<Ptr>>) -> Pin<&mut Ptr::Target>

0 commit comments

Comments
 (0)