From cd773c358793beaae4688b4bbb60d793509f7cc0 Mon Sep 17 00:00:00 2001 From: Xinye Tao Date: Mon, 4 Oct 2021 00:27:32 +0800 Subject: [PATCH] Update outdated comment --- library/alloc/src/collections/vec_deque/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ fn diff(a: usize, b: usize) -> usize { } } - /// 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]) {