diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2016-05-27 10:50:03 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2016-05-27 10:50:03 +0200 |
| commit | caa732a725af1e0f0169c69bfd491a951b984ccf (patch) | |
| tree | 2270c2a6650a2a2f6c4b18142fb5b4a749da3d66 | |
| parent | 98e768fa849b9e5097f33300b0d270395e32bc99 (diff) | |
| parent | f5a398d0566cb585266778c81e2924c27e017080 (diff) | |
| download | rust-caa732a725af1e0f0169c69bfd491a951b984ccf.tar.gz rust-caa732a725af1e0f0169c69bfd491a951b984ccf.zip | |
Rollup merge of #33858 - liigo:patch-7, r=GuillaumeGomez
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. |
