Rollup merge of #129424 - coolreader18:stabilize-pin_as_deref_mut, r=… · qinheping/verify-rust-std@ea7a0c6 (original) (raw)

Original file line number Diff line number Diff line change
@@ -1422,7 +1422,7 @@ impl<Ptr: DerefMut> Pin {
1422 1422 /// move in the future, and this method does not enable the pointee to move. "Malicious"
1423 1423 /// implementations of `Ptr::DerefMut` are likewise ruled out by the contract of
1424 1424 /// `Pin::new_unchecked`.
1425 - #[unstable(feature = "pin_deref_mut", issue = "86918")]
1425 + #[stable(feature = "pin_deref_mut", since = "CURRENT_RUSTC_VERSION")]
1426 1426 #[must_use = "`self` will be dropped if the result is not used"]
1427 1427 #[inline(always)]
1428 1428 pub fn as_deref_mut(self: Pin<&mut Pin<Ptr>>) -> Pin<&mut Ptr::Target> {