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