diff options
| author | Liigo Zhuang <liigo@qq.com> | 2016-05-25 10:09:20 +0800 |
|---|---|---|
| committer | Liigo Zhuang <liigo@qq.com> | 2016-05-25 10:09:20 +0800 |
| commit | f5a398d0566cb585266778c81e2924c27e017080 (patch) | |
| tree | 9a7888c59788b4f0d0a927f8a8da3571cc076a16 | |
| parent | dd6e8d45e183861d44ed91a99f0a50403b2776a3 (diff) | |
| download | rust-f5a398d0566cb585266778c81e2924c27e017080.tar.gz rust-f5a398d0566cb585266778c81e2924c27e017080.zip | |
Point out the clone operation in summary line docs of `Vec::extend_from_slice`
| -rw-r--r-- | src/libcollections/vec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs index 58d4a4ed4eb..bd1bf6e9cc3 100644 --- a/src/libcollections/vec.rs +++ b/src/libcollections/vec.rs @@ -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. |
