Skip to content

Commit 2db0e0d

Browse files
committed
tweaks and fix weird space
1 parent e61a8a9 commit 2db0e0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libcore/marker.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ unsafe impl<T: ?Sized> Freeze for &mut T {}
633633
/// This trait is automatically implemented for almost every type.
634634
///
635635
/// [`mem::replace`]: ../../std/mem/fn.replace.html
636-
/// [`Pin<P>`]: ../pin/struct.Pin.html
636+
/// [`Pin<P>`]: ../pin/struct.Pin.html
637637
/// [`pin module`]: ../../std/pin/index.html
638638
#[stable(feature = "pin", since = "1.33.0")]
639639
#[cfg_attr(not(stage0), lang = "unpin")]

src/libcore/pin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
//! cancels the effect of [`Pin<P>`]. For `T: Unpin`, `Pin<Box<T>>` and `Box<T>` function
5454
//! identically, as do `Pin<&mut T>` and `&mut T`.
5555
//!
56-
//! Note that pinning and `Unpin` only affect the pointed-to type, not the pointer
56+
//! Note that pinning and `Unpin` only affect the pointed-to type `P::Target`, not the pointer
5757
//! type `P` itself that got wrapped in `Pin<P>`. For example, whether or not `Box<T>` is
5858
//! `Unpin` has no effect on the behavior of `Pin<Box<T>>` (here, `T` is the
5959
//! pointed-to type).

0 commit comments

Comments
 (0)