Skip to content

Commit 77c1291

Browse files
committed
✏️ fix: one of the range "s/bound/bounds"
1 parent d1d5910 commit 77c1291

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
@@ -1459,7 +1459,7 @@ impl<T, A: Allocator> VecDeque<T, A> {
14591459
/// # Panics
14601460
///
14611461
/// Panics if the range has `start_bound > end_bound`, or, one of the range
1462-
/// bound is bounded and greater than the length of the deque.
1462+
/// bounds is bounded and greater than the length of the deque.
14631463
///
14641464
/// # Examples
14651465
///
@@ -1495,7 +1495,7 @@ impl<T, A: Allocator> VecDeque<T, A> {
14951495
/// # Panics
14961496
///
14971497
/// Panics if the range has `start_bound > end_bound`, or, one of the range
1498-
/// bound is bounded and greater than the length of the deque.
1498+
/// bounds is bounded and greater than the length of the deque.
14991499
///
15001500
/// # Examples
15011501
///
@@ -1541,7 +1541,7 @@ impl<T, A: Allocator> VecDeque<T, A> {
15411541
/// # Panics
15421542
///
15431543
/// Panics if the range has `start_bound > end_bound`, or, one of the range
1544-
/// bound is bounded and greater than the length of the deque.
1544+
/// bounds is bounded and greater than the length of the deque.
15451545
///
15461546
/// # Leaking
15471547
///

library/alloc/src/string.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,7 @@ impl String {
11171117
/// # Panics
11181118
///
11191119
/// Panics if the range has `start_bound > end_bound`, or, one of the range
1120-
/// bound is bounded and does not lie on a [`char`] boundary.
1120+
/// bounds is bounded and does not lie on a [`char`] boundary.
11211121
///
11221122
/// # Examples
11231123
///
@@ -1921,7 +1921,7 @@ impl String {
19211921
/// # Panics
19221922
///
19231923
/// Panics if the range has `start_bound > end_bound`, or, one of the range
1924-
/// bound is bounded and does not lie on a [`char`] boundary.
1924+
/// bounds is bounded and does not lie on a [`char`] boundary.
19251925
///
19261926
/// # Leaking
19271927
///
@@ -2031,7 +2031,7 @@ impl String {
20312031
/// # Panics
20322032
///
20332033
/// Panics if the range has `start_bound > end_bound`, or, one of the range
2034-
/// bound is bounded and does not lie on a [`char`] boundary.
2034+
/// bounds is bounded and does not lie on a [`char`] boundary.
20352035
///
20362036
/// # Examples
20372037
///

library/alloc/src/vec/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2607,7 +2607,7 @@ impl<T, A: Allocator> Vec<T, A> {
26072607
/// # Panics
26082608
///
26092609
/// Panics if the range has `start_bound > end_bound`, or, one of the range
2610-
/// bound is bounded and greater than the length of the vector.
2610+
/// bounds is bounded and greater than the length of the vector.
26112611
///
26122612
/// # Leaking
26132613
///
@@ -3616,7 +3616,7 @@ impl<T, A: Allocator> Vec<T, A> {
36163616
/// # Panics
36173617
///
36183618
/// Panics if the range has `start_bound > end_bound`, or, one of the range
3619-
/// bound is bounded and greater than the length of the vector.
3619+
/// bounds is bounded and greater than the length of the vector.
36203620
///
36213621
/// # Examples
36223622
///

0 commit comments

Comments
 (0)