Skip to content

Commit 384ee48

Browse files
authored
Clarify docs in VecDeque::resize
1 parent f573db4 commit 384ee48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcollections/vec_deque.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1766,7 +1766,7 @@ impl<T> VecDeque<T> {
17661766

17671767
impl<T: Clone> VecDeque<T> {
17681768
/// Modifies the `VecDeque` in-place so that `len()` is equal to new_len,
1769-
/// either by removing excess elements or by appending copies of a value to the back.
1769+
/// either by removing excess elements or by appending clones of `value` to the back.
17701770
///
17711771
/// # Examples
17721772
///

0 commit comments

Comments
 (0)