Update library/core/src/pin.rs

Co-authored-by: Ralf Jung <post@ralfj.de>
This commit is contained in:
Jon Gjengset 2021-06-15 20:47:43 -04:00 committed by GitHub
parent ac658e1066
commit b5e5a182ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)]