@@ -1486,8 +1486,8 @@ impl<T, A: Allocator> VecDeque<T, A> {
14861486 ///
14871487 /// # Panics
14881488 ///
1489- /// Panics if the range has `start_bound > end_bound`, or, a range bound is
1490- /// bounded and greater than the length of the deque .
1489+ /// Panics if the range has `start_bound > end_bound`, or, if the range is
1490+ /// bounded on either end and past the length of the dequeue .
14911491 ///
14921492 /// # Examples
14931493 ///
@@ -1522,8 +1522,8 @@ impl<T, A: Allocator> VecDeque<T, A> {
15221522 ///
15231523 /// # Panics
15241524 ///
1525- /// Panics if the range has `start_bound > end_bound`, or, a range bound is
1526- /// bounded and greater than the length of the deque .
1525+ /// Panics if the range has `start_bound > end_bound`, or, if the range is
1526+ /// bounded on either end and past the length of the dequeue .
15271527 ///
15281528 /// # Examples
15291529 ///
@@ -1568,8 +1568,8 @@ impl<T, A: Allocator> VecDeque<T, A> {
15681568 ///
15691569 /// # Panics
15701570 ///
1571- /// Panics if the range has `start_bound > end_bound`, or, a range bound is
1572- /// bounded and greater than the length of the deque .
1571+ /// Panics if the range has `start_bound > end_bound`, or, if the range is
1572+ /// bounded on either end and past the length of the dequeue .
15731573 ///
15741574 /// # Leaking
15751575 ///
0 commit comments