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`.
This commit is contained in:
commit
0211246c7b
1 changed files with 4 additions and 4 deletions
|
@ -3558,7 +3558,7 @@ impl str {
|
||||||
/// A string is a sequence of bytes. `start` in this context means the first
|
/// A string is a sequence of bytes. `start` in this context means the first
|
||||||
/// position of that byte string; for a left-to-right language like English or
|
/// position of that byte string; for a left-to-right language like English or
|
||||||
/// Russian, this will be left side, and for right-to-left languages like
|
/// Russian, this will be left side, and for right-to-left languages like
|
||||||
/// like Arabic or Hebrew, this will be the right side.
|
/// Arabic or Hebrew, this will be the right side.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
@ -3595,7 +3595,7 @@ impl str {
|
||||||
/// A string is a sequence of bytes. `end` in this context means the last
|
/// A string is a sequence of bytes. `end` in this context means the last
|
||||||
/// position of that byte string; for a left-to-right language like English or
|
/// position of that byte string; for a left-to-right language like English or
|
||||||
/// Russian, this will be right side, and for right-to-left languages like
|
/// Russian, this will be right side, and for right-to-left languages like
|
||||||
/// like Arabic or Hebrew, this will be the left side.
|
/// Arabic or Hebrew, this will be the left side.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
@ -3762,7 +3762,7 @@ impl str {
|
||||||
/// A string is a sequence of bytes. `start` in this context means the first
|
/// A string is a sequence of bytes. `start` in this context means the first
|
||||||
/// position of that byte string; for a left-to-right language like English or
|
/// position of that byte string; for a left-to-right language like English or
|
||||||
/// Russian, this will be left side, and for right-to-left languages like
|
/// Russian, this will be left side, and for right-to-left languages like
|
||||||
/// like Arabic or Hebrew, this will be the right side.
|
/// Arabic or Hebrew, this will be the right side.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
@ -3801,7 +3801,7 @@ impl str {
|
||||||
/// A string is a sequence of bytes. `end` in this context means the last
|
/// A string is a sequence of bytes. `end` in this context means the last
|
||||||
/// position of that byte string; for a left-to-right language like English or
|
/// position of that byte string; for a left-to-right language like English or
|
||||||
/// Russian, this will be right side, and for right-to-left languages like
|
/// Russian, this will be right side, and for right-to-left languages like
|
||||||
/// like Arabic or Hebrew, this will be the left side.
|
/// Arabic or Hebrew, this will be the left side.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue