Skip to content

Commit c95fba7

Browse files
authored
Nit: Remove leading whitespace
1 parent 57f7f22 commit c95fba7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/slice/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1541,7 +1541,7 @@ impl<T> [T] {
15411541
/// let src = [1, 2, 3, 4];
15421542
/// let mut dst = [0, 0];
15431543
///
1544-
/// // Note: the slices must be the same length, so you can slice the
1544+
/// // Note: the slices must be the same length, so you can slice the
15451545
/// // source to be the same size. Here we slice the source, four elements,
15461546
/// // to two, the same size as the destination slice. It *will* panic if we don't do this.
15471547
/// dst.clone_from_slice(&src[2..]);
@@ -1610,7 +1610,7 @@ impl<T> [T] {
16101610
/// let src = [1, 2, 3, 4];
16111611
/// let mut dst = [0, 0];
16121612
///
1613-
/// // Note: the slices must be the same length, so you can slice the
1613+
/// // Note: the slices must be the same length, so you can slice the
16141614
/// // source to be the same size. Here we slice the source, four elements,
16151615
/// // to two, the same size as the destination slice. It *will* panic if we don't do this.
16161616
/// dst.copy_from_slice(&src[2..]);

0 commit comments

Comments
 (0)