Clarify docs in `VecDeque::resize`
This commit is contained in:
parent
f573db4f80
commit
384ee48a1a
|
@ -1766,7 +1766,7 @@ impl<T> VecDeque<T> {
|
|||
|
||||
impl<T: Clone> VecDeque<T> {
|
||||
/// Modifies the `VecDeque` in-place so that `len()` is equal to new_len,
|
||||
/// either by removing excess elements or by appending copies of a value to the back.
|
||||
/// either by removing excess elements or by appending clones of `value` to the back.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue