about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJon Gjengset <jon@thesquareplanet.com>2021-06-15 20:47:43 -0400
committerGitHub <noreply@github.com>2021-06-15 20:47:43 -0400
commitb5e5a182caa6efb7359978a6ff596f403cb4c099 (patch)
treeb8cfd2502ccb4b08453c4b9a42a09e3a04759176
parentac658e106653a5aa048eec158b66c9e0485b952b (diff)
downloadrust-b5e5a182caa6efb7359978a6ff596f403cb4c099.tar.gz
rust-b5e5a182caa6efb7359978a6ff596f403cb4c099.zip
Update library/core/src/pin.rs
Co-authored-by: Ralf Jung <post@ralfj.de>
-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 7eb2029013e..85411bac946 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<P>> {
     /// This is a generic method to go from `Pin<&mut Pin<Pointer<T>>>` to `Pin<&mut T>`. It is
     /// safe because the existence of a `Pin<Pointer<T>>` 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)]