From b5e5a182caa6efb7359978a6ff596f403cb4c099 Mon Sep 17 00:00:00 2001 From: Jon Gjengset Date: Tue, 15 Jun 2021 20:47:43 -0400 Subject: [PATCH] Update library/core/src/pin.rs Co-authored-by: Ralf Jung --- library/core/src/pin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/pin.rs b/library/core/src/pin.rs index 7eb2029013e62..85411bac946a4 100644 --- a/library/core/src/pin.rs +++ b/library/core/src/pin.rs @@ -808,7 +808,7 @@ impl<'a, P: DerefMut> Pin<&'a mut Pin

> { /// This is a generic method to go from `Pin<&mut Pin>>` to `Pin<&mut T>`. It is /// safe because the existence of a `Pin>` ensures that the pointee, `T`, cannot /// move in the future, and this method does not enable the pointee to move. "Malicious" - /// implementations of `Pointer::DerefMut` are likewise ruled out by the contract of + /// implementations of `P::DerefMut` are likewise ruled out by the contract of /// `Pin::new_unchecked`. #[unstable(feature = "pin_deref_mut", issue = "none")] #[inline(always)]