diff options
| author | Xinye Tao <xy.tao@outlook.com> | 2021-10-04 00:27:32 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-04 00:27:32 +0800 |
| commit | cd773c358793beaae4688b4bbb60d793509f7cc0 (patch) | |
| tree | 26bf73999bec59070763685d20633fa9e66886f8 /library/alloc/src | |
| parent | a929e6070777279ab326abd27efdc724afecd334 (diff) | |
| download | rust-cd773c358793beaae4688b4bbb60d793509f7cc0.tar.gz rust-cd773c358793beaae4688b4bbb60d793509f7cc0.zip | |
Update outdated comment
Diffstat (limited to 'library/alloc/src')
| -rw-r--r-- | library/alloc/src/collections/vec_deque/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/collections/vec_deque/mod.rs b/library/alloc/src/collections/vec_deque/mod.rs index f703efd6fbe..8a9f06ff242 100644 --- a/library/alloc/src/collections/vec_deque/mod.rs +++ b/library/alloc/src/collections/vec_deque/mod.rs @@ -417,7 +417,7 @@ impl<T, A: Allocator> VecDeque<T, A> { } } - /// Append all values from `src` to `dst`, wrapping around if needed. + /// Copies all values from `src` to `dst`, wrapping around if needed. /// Assumes capacity is sufficient. #[inline] unsafe fn copy_slice(&mut self, dst: usize, src: &[T]) { |
