Rollup merge of #33858 - liigo:patch-7, r=GuillaumeGomez

Point out the clone operation in summary line docs of `Vec::extend_from_slice`
This commit is contained in:
Guillaume Gomez 2016-05-27 10:50:03 +02:00
commit caa732a725

View File

@ -966,7 +966,7 @@ fn extend_with_element(&mut self, n: usize, value: T) {
}
}
/// Appends all elements in a slice to the `Vec`.
/// Clones and appends all elements in a slice to the `Vec`.
///
/// Iterates over the slice `other`, clones each element, and then appends
/// it to this `Vec`. The `other` vector is traversed in-order.