about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNoa <coolreader18@gmail.com>2024-08-22 14:42:46 -0500
committerNoa <coolreader18@gmail.com>2024-10-08 15:00:15 -0500
commit5db54bee68a0328cb49cef690be53c15d56cb857 (patch)
tree39a5d11378dc4f1c359a38fb86eefcccd20e08ac
parent10a9ee0607a6ab4d334a5361375c79de46bc5d12 (diff)
downloadrust-5db54bee68a0328cb49cef690be53c15d56cb857.tar.gz
rust-5db54bee68a0328cb49cef690be53c15d56cb857.zip
Stabilize Pin::as_deref_mut
-rw-r--r--library/core/src/pin.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/pin.rs b/library/core/src/pin.rs
index 9c13662e08e..fac789dbd99 100644
--- a/library/core/src/pin.rs
+++ b/library/core/src/pin.rs
@@ -1422,7 +1422,7 @@ impl<Ptr: DerefMut> Pin<Ptr> {
     /// move in the future, and this method does not enable the pointee to move. "Malicious"
     /// implementations of `Ptr::DerefMut` are likewise ruled out by the contract of
     /// `Pin::new_unchecked`.
-    #[unstable(feature = "pin_deref_mut", issue = "86918")]
+    #[stable(feature = "pin_deref_mut", since = "CURRENT_RUSTC_VERSION")]
     #[must_use = "`self` will be dropped if the result is not used"]
     #[inline(always)]
     pub fn as_deref_mut(self: Pin<&mut Pin<Ptr>>) -> Pin<&mut Ptr::Target> {