Auto merge of #34745 - alexandermerritt:slice-doc, r=brson

make docs for clone_from_slice consistent with copy_from_slice

What 'this slice' refers to is not intuitive, given this method can appear in other places, e.g. in docs for Vec.
This commit is contained in:
bors 2016-07-09 21:16:20 -07:00 committed by GitHub
commit c73bb9b7d9

View File

@ -847,7 +847,7 @@ impl<T> [T] {
/// Copies the elements from `src` into `self`.
///
/// The length of this slice must be the same as the slice passed in.
/// The length of `src` must be the same as `self`.
///
/// # Panics
///