Skip to content

Commit

Permalink
Update library/core/src/pin.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Ralf Jung <post@ralfj.de>
  • Loading branch information
jonhoo and RalfJung committed Jun 16, 2021
1 parent ac658e1 commit b5e5a18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/pin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit b5e5a18

Please sign in to comment.