Skip to content

Commit 6f48b60

Browse files
committed
Repace inaccruate comment
1 parent fd8ebea commit 6f48b60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/pin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ impl<P: Deref<Target: Unpin>> Pin<P> {
492492
/// use std::pin::Pin;
493493
///
494494
/// let val: u8 = 5;
495-
/// // Wrap the value in a pin to make sure it doesn't move
495+
/// // We can pin the value, since it doesn't care about being moved
496496
/// let pinned: Pin<&u8> = Pin::new(&val);
497497
/// ```
498498
#[inline(always)]

0 commit comments

Comments
 (0)