Skip to content

Commit ea814b8

Browse files
Pieter PenninckxPieter Penninckx
Pieter Penninckx
authored and
Pieter Penninckx
committed
Revert change to docs in panic section of VecDeque::split_off
1 parent 81e6840 commit ea814b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/vec_deque.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1635,7 +1635,7 @@ impl<T> VecDeque<T> {
16351635
///
16361636
/// # Panics
16371637
///
1638-
/// Panics if `at` is out of bounds.
1638+
/// Panics if `at > len`.
16391639
///
16401640
/// # Examples
16411641
///

0 commit comments

Comments
 (0)