Skip to content

Commit 0211246

Browse files
authored
Rollup merge of #64042 - juliangehring:string-docs, r=jonas-schievink
Fix word repetition in str documentation Fixes a few repetitions of "like like" in the `trim*` methods documentation of `str`.
2 parents a7ba1be + c4d0c28 commit 0211246

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/libcore/str/mod.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -3558,7 +3558,7 @@ impl str {
35583558
/// A string is a sequence of bytes. `start` in this context means the first
35593559
/// position of that byte string; for a left-to-right language like English or
35603560
/// Russian, this will be left side, and for right-to-left languages like
3561-
/// like Arabic or Hebrew, this will be the right side.
3561+
/// Arabic or Hebrew, this will be the right side.
35623562
///
35633563
/// # Examples
35643564
///
@@ -3595,7 +3595,7 @@ impl str {
35953595
/// A string is a sequence of bytes. `end` in this context means the last
35963596
/// position of that byte string; for a left-to-right language like English or
35973597
/// Russian, this will be right side, and for right-to-left languages like
3598-
/// like Arabic or Hebrew, this will be the left side.
3598+
/// Arabic or Hebrew, this will be the left side.
35993599
///
36003600
/// # Examples
36013601
///
@@ -3762,7 +3762,7 @@ impl str {
37623762
/// A string is a sequence of bytes. `start` in this context means the first
37633763
/// position of that byte string; for a left-to-right language like English or
37643764
/// Russian, this will be left side, and for right-to-left languages like
3765-
/// like Arabic or Hebrew, this will be the right side.
3765+
/// Arabic or Hebrew, this will be the right side.
37663766
///
37673767
/// # Examples
37683768
///
@@ -3801,7 +3801,7 @@ impl str {
38013801
/// A string is a sequence of bytes. `end` in this context means the last
38023802
/// position of that byte string; for a left-to-right language like English or
38033803
/// Russian, this will be right side, and for right-to-left languages like
3804-
/// like Arabic or Hebrew, this will be the left side.
3804+
/// Arabic or Hebrew, this will be the left side.
38053805
///
38063806
/// # Examples
38073807
///

0 commit comments

Comments
 (0)