Update outdated comment

This commit is contained in:
Xinye Tao 2021-10-04 00:27:32 +08:00 committed by GitHub
parent a929e60707
commit cd773c3587
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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]) {