Skip to content

Commit

Permalink
Rollup merge of rust-lang#33858 - liigo:patch-7, r=GuillaumeGomez
Browse files Browse the repository at this point in the history
Point out the clone operation in summary line docs of `Vec::extend_from_slice`
  • Loading branch information
GuillaumeGomez committed May 27, 2016
2 parents 98e768f + f5a398d commit caa732a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcollections/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ impl<T: Clone> Vec<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.
Expand Down

0 comments on commit caa732a

Please sign in to comment.