Skip to content

Commit 14cf0d2

Browse files
committed
✏️ fix: one of the range "s/bound/bounds"
1 parent 2bd5fcc commit 14cf0d2

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1487,7 +1487,7 @@ impl<T, A: Allocator> VecDeque<T, A> {
14871487
/// # Panics
14881488
///
14891489
/// Panics if the range has `start_bound > end_bound`, or, one of the range
1490-
/// bound is bounded and greater than the length of the deque.
1490+
/// bounds is bounded and greater than the length of the deque.
14911491
///
14921492
/// # Examples
14931493
///
@@ -1523,7 +1523,7 @@ impl<T, A: Allocator> VecDeque<T, A> {
15231523
/// # Panics
15241524
///
15251525
/// Panics if the range has `start_bound > end_bound`, or, one of the range
1526-
/// bound is bounded and greater than the length of the deque.
1526+
/// bounds is bounded and greater than the length of the deque.
15271527
///
15281528
/// # Examples
15291529
///
@@ -1569,7 +1569,7 @@ impl<T, A: Allocator> VecDeque<T, A> {
15691569
/// # Panics
15701570
///
15711571
/// Panics if the range has `start_bound > end_bound`, or, one of the range
1572-
/// bound is bounded and greater than the length of the deque.
1572+
/// bounds is bounded and greater than the length of the deque.
15731573
///
15741574
/// # Leaking
15751575
///

library/alloc/src/string.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@ impl String {
11181118
/// # Panics
11191119
///
11201120
/// Panics if the range has `start_bound > end_bound`, or, one of the range
1121-
/// bound is bounded and does not lie on a [`char`] boundary.
1121+
/// bounds is bounded and does not lie on a [`char`] boundary.
11221122
///
11231123
/// # Examples
11241124
///
@@ -1940,7 +1940,7 @@ impl String {
19401940
/// # Panics
19411941
///
19421942
/// Panics if the range has `start_bound > end_bound`, or, one of the range
1943-
/// bound is bounded and does not lie on a [`char`] boundary.
1943+
/// bounds is bounded and does not lie on a [`char`] boundary.
19441944
///
19451945
/// # Leaking
19461946
///
@@ -2051,7 +2051,7 @@ impl String {
20512051
/// # Panics
20522052
///
20532053
/// Panics if the range has `start_bound > end_bound`, or, one of the range
2054-
/// bound is bounded and does not lie on a [`char`] boundary.
2054+
/// bounds is bounded and does not lie on a [`char`] boundary.
20552055
///
20562056
/// # Examples
20572057
///

library/alloc/src/vec/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2747,7 +2747,7 @@ impl<T, A: Allocator> Vec<T, A> {
27472747
/// # Panics
27482748
///
27492749
/// Panics if the range has `start_bound > end_bound`, or, one of the range
2750-
/// bound is bounded and greater than the length of the vector.
2750+
/// bounds is bounded and greater than the length of the vector.
27512751
///
27522752
/// # Leaking
27532753
///
@@ -3811,7 +3811,7 @@ impl<T, A: Allocator> Vec<T, A> {
38113811
/// # Panics
38123812
///
38133813
/// Panics if the range has `start_bound > end_bound`, or, one of the range
3814-
/// bound is bounded and greater than the length of the vector.
3814+
/// bounds is bounded and greater than the length of the vector.
38153815
///
38163816
/// # Examples
38173817
///

0 commit comments

Comments
 (0)