Skip to content

Commit

Permalink
edit std::collections::VecDeque docs
Browse files Browse the repository at this point in the history
  • Loading branch information
52 committed Sep 16, 2023
1 parent d1ff5e1 commit 1c7a77a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/alloc/src/collections/vec_deque/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1015,8 +1015,8 @@ impl<T, A: Allocator> VecDeque<T, A> {
/// Shortens the deque, keeping the first `len` elements and dropping
/// the rest.
///
/// If `len` is greater than the deque's current length, this has no
/// effect.
/// If `len` is greater or equal to the deque's current length, this has
/// no effect.
///
/// # Examples
///
Expand Down

0 comments on commit 1c7a77a

Please sign in to comment.