Skip to content

Commit

Permalink
Update outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tabokie authored Oct 3, 2021
1 parent a929e60 commit cd773c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/src/collections/vec_deque/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]) {
Expand Down

0 comments on commit cd773c3

Please sign in to comment.