Skip to content

Commit 891a75b

Browse files
committed
Add clarity to the "greater" of VecDeque::insert
1 parent ea048cf commit 891a75b

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1869,7 +1869,7 @@ impl<T, A: Allocator> VecDeque<T, A> {
18691869
///
18701870
/// # Panics
18711871
///
1872-
/// Panics if `index` is greater than deque's length
1872+
/// Panics if `index` is strictly greater than deque's length
18731873
///
18741874
/// # Examples
18751875
///

0 commit comments

Comments
 (0)