edit std::collections::VecDeque
docs
This commit is contained in:
parent
d1ff5e174b
commit
1c7a77a638
@ -1015,8 +1015,8 @@ pub fn shrink_to(&mut self, min_capacity: usize) {
|
|||||||
/// Shortens the deque, keeping the first `len` elements and dropping
|
/// Shortens the deque, keeping the first `len` elements and dropping
|
||||||
/// the rest.
|
/// the rest.
|
||||||
///
|
///
|
||||||
/// If `len` is greater than the deque's current length, this has no
|
/// If `len` is greater or equal to the deque's current length, this has
|
||||||
/// effect.
|
/// no effect.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user