Skip to content

Commit bb88c67

Browse files
jonhooRalfJung
andauthored
Update library/core/src/pin.rs
Co-authored-by: Ralf Jung <[email protected]>
1 parent 22855c5 commit bb88c67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: core/src/pin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ impl<'a, P: DerefMut> Pin<&'a mut Pin<P>> {
808808
/// This is a generic method to go from `Pin<&mut Pin<Pointer<T>>>` to `Pin<&mut T>`. It is
809809
/// safe because the existence of a `Pin<Pointer<T>>` ensures that the pointee, `T`, cannot
810810
/// move in the future, and this method does not enable the pointee to move. "Malicious"
811-
/// implementations of `Pointer::DerefMut` are likewise ruled out by the contract of
811+
/// implementations of `P::DerefMut` are likewise ruled out by the contract of
812812
/// `Pin::new_unchecked`.
813813
#[unstable(feature = "pin_deref_mut", issue = "none")]
814814
#[inline(always)]

0 commit comments

Comments
 (0)