@@ -1458,8 +1458,8 @@ impl<T, A: Allocator> VecDeque<T, A> {
14581458 ///
14591459 /// # Panics
14601460 ///
1461- /// Panics if the range has `start_bound > end_bound`, or, a range bound is
1462- /// bounded and greater than the length of the deque .
1461+ /// Panics if the range has `start_bound > end_bound`, or, if the range is
1462+ /// bounded on either end and past the length of the dequeue .
14631463 ///
14641464 /// # Examples
14651465 ///
@@ -1494,8 +1494,8 @@ impl<T, A: Allocator> VecDeque<T, A> {
14941494 ///
14951495 /// # Panics
14961496 ///
1497- /// Panics if the range has `start_bound > end_bound`, or, a range bound is
1498- /// bounded and greater than the length of the deque .
1497+ /// Panics if the range has `start_bound > end_bound`, or, if the range is
1498+ /// bounded on either end and past the length of the dequeue .
14991499 ///
15001500 /// # Examples
15011501 ///
@@ -1540,8 +1540,8 @@ impl<T, A: Allocator> VecDeque<T, A> {
15401540 ///
15411541 /// # Panics
15421542 ///
1543- /// Panics if the range has `start_bound > end_bound`, or, a range bound is
1544- /// bounded and greater than the length of the deque .
1543+ /// Panics if the range has `start_bound > end_bound`, or, if the range is
1544+ /// bounded on either end and past the length of the dequeue .
15451545 ///
15461546 /// # Leaking
15471547 ///
0 commit comments