We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22855c5 commit bb88c67Copy full SHA for bb88c67
core/src/pin.rs
@@ -808,7 +808,7 @@ impl<'a, P: DerefMut> Pin<&'a mut Pin<P>> {
808
/// This is a generic method to go from `Pin<&mut Pin<Pointer<T>>>` to `Pin<&mut T>`. It is
809
/// safe because the existence of a `Pin<Pointer<T>>` ensures that the pointee, `T`, cannot
810
/// 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
+ /// implementations of `P::DerefMut` are likewise ruled out by the contract of
812
/// `Pin::new_unchecked`.
813
#[unstable(feature = "pin_deref_mut", issue = "none")]
814
#[inline(always)]
0 commit comments