mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
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> {
|
impl<T: Clone> VecDeque<T> {
|
||||||
/// Modifies the `VecDeque` in-place so that `len()` is equal to new_len,
|
/// 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
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user