Skip to content

Commit dfa90e7

Browse files
committed
fix formatting
1 parent 8b5379e commit dfa90e7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

library/core/src/pin.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -485,12 +485,12 @@ impl<P: Deref<Target: Unpin>> Pin<P> {
485485
///
486486
/// Unlike `Pin::new_unchecked`, this method is safe because the pointer
487487
/// `P` dereferences to an [`Unpin`] type, which cancels the pinning guarantees.
488-
///
488+
///
489489
/// # Examples
490-
///
490+
///
491491
/// ```
492492
/// use std::pin::Pin;
493-
///
493+
///
494494
/// let val: u8 = 5;
495495
/// // Wrap the value in a pin to make sure it doesn't move
496496
/// let pinned: Pin<&u8> = Pin::new(&val);
@@ -508,9 +508,9 @@ impl<P: Deref<Target: Unpin>> Pin<P> {
508508
///
509509
/// This requires that the data inside this `Pin` is [`Unpin`] so that we
510510
/// can ignore the pinning invariants when unwrapping it.
511-
///
511+
///
512512
/// # Examples
513-
///
513+
///
514514
/// ```
515515
/// use std::pin::Pin;
516516
///

0 commit comments

Comments
 (0)