diff options
| author | Lucas Kent <rubickent@gmail.com> | 2021-12-05 01:22:49 +1100 |
|---|---|---|
| committer | Lucas Kent <rubickent@gmail.com> | 2021-12-05 01:22:49 +1100 |
| commit | 8bfc76dd6241aa7da0bc6660f0651e17092f8c93 (patch) | |
| tree | cb950633c054c2526b9cc6ead0b348faf08b1838 | |
| parent | 14c1e71d095a5500def51d4e405bd2b0010f3d37 (diff) | |
| download | rust-8bfc76dd6241aa7da0bc6660f0651e17092f8c93.tar.gz rust-8bfc76dd6241aa7da0bc6660f0651e17092f8c93.zip | |
Fix Vec::extend_from_slice docs
| -rw-r--r-- | library/alloc/src/vec/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/vec/mod.rs b/library/alloc/src/vec/mod.rs index 88bde6e8ce4..af26a5b5998 100644 --- a/library/alloc/src/vec/mod.rs +++ b/library/alloc/src/vec/mod.rs @@ -2199,7 +2199,7 @@ impl<T: Clone, A: Allocator> Vec<T, A> { /// 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. + /// it to this `Vec`. The `other` slice is traversed in-order. /// /// Note that this function is same as [`extend`] except that it is /// specialized to work with slices instead. If and when Rust gets |
