diff options
| author | Jon Gjengset <jon@thesquareplanet.com> | 2021-06-15 20:47:43 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-15 20:47:43 -0400 |
| commit | b5e5a182caa6efb7359978a6ff596f403cb4c099 (patch) | |
| tree | b8cfd2502ccb4b08453c4b9a42a09e3a04759176 | |
| parent | ac658e106653a5aa048eec158b66c9e0485b952b (diff) | |
| download | rust-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.rs | 2 |
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)] |
