@@ -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