Skip to content

Commit 1c7a77a

Browse files
committed
edit std::collections::VecDeque docs
1 parent d1ff5e1 commit 1c7a77a

File tree

1 file changed

+2
-2
lines changed
  • library/alloc/src/collections/vec_deque

1 file changed

+2
-2
lines changed

library/alloc/src/collections/vec_deque/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1015,8 +1015,8 @@ impl<T, A: Allocator> VecDeque<T, A> {
10151015
/// Shortens the deque, keeping the first `len` elements and dropping
10161016
/// the rest.
10171017
///
1018-
/// If `len` is greater than the deque's current length, this has no
1019-
/// effect.
1018+
/// If `len` is greater or equal to the deque's current length, this has
1019+
/// no effect.
10201020
///
10211021
/// # Examples
10221022
///

0 commit comments

Comments
 (0)