@@ -1913,7 +1913,7 @@ pub unsafe trait PinSafePointer: Deref + Sized {}
19131913//
19141914// Conversely, downstream crates are able to implement `Debug` and `Display` for
19151915// `&LocalType` as long as `LocalType` does not implement said trait. However,
1916- // the existence of an `&T` is not treated as evidence that the `T` is not
1916+ // the existence of an `&& T` cannot be treated as evidence that the `T` is not
19171917// pinned, so this is not problematic.
19181918#[ stable( feature = "pin" , since = "1.33.0" ) ]
19191919unsafe impl < ' a , T : ?Sized > PinSafePointer for & ' a T { }
@@ -1931,9 +1931,9 @@ unsafe impl<'a, T: ?Sized> PinSafePointer for &'a T {}
19311931// downstream crates cannot implement `Clone` for `&mut LocalType`.
19321932//
19331933// Conversely, downstream crates are able to implement `Debug` and `Display`
1934- // for `&LocalType` as long as `LocalType` does not implement said trait.
1935- // However, the existence of an `&T` is not treated as evidence that the `T` is
1936- // not pinned, so this is not problematic.
1934+ // for `&mut LocalType` as long as `LocalType` does not implement said trait.
1935+ // However, the existence of an `&&mut T` cannot be treated as evidence that the
1936+ // `T` is not pinned, so this is not problematic.
19371937#[ stable( feature = "pin" , since = "1.33.0" ) ]
19381938unsafe impl < ' a , T : ?Sized > PinSafePointer for & ' a mut T { }
19391939
0 commit comments