Skip to content

Commit

Permalink
Point out the clone operation in summary line docs of `Vec::extend_fr…
Browse files Browse the repository at this point in the history
…om_slice`
  • Loading branch information
liigo committed May 25, 2016
1 parent dd6e8d4 commit f5a398d
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 f5a398d

Please sign in to comment.