Skip to content

Commit 73338a0

Browse files
committed
Stabilize Pin::as_deref_mut
1 parent f43940b commit 73338a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: library/core/src/pin.rs

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

0 commit comments

Comments
 (0)