edit std::collections::VecDeque docs

This commit is contained in:
mxnkarou 2023-09-16 15:52:34 +02:00
parent d1ff5e174b
commit 1c7a77a638
No known key found for this signature in database
GPG Key ID: 93426F8C862526F2

View File

@ -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
/// ///