Rollup merge of #62327 - Flast:patch-1, r=Mark-Simulacrum
Fixed document bug, those replaced each other Originally reported by #57686, introduced by #58005
This commit is contained in:
commit
6b43b50f0b
|
@ -3716,10 +3716,10 @@ impl str {
|
||||||
///
|
///
|
||||||
/// # Text directionality
|
/// # Text directionality
|
||||||
///
|
///
|
||||||
/// A string is a sequence of bytes. 'Left' 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 language like Arabic or Hebrew
|
/// position of that byte string; for a left-to-right language like English or
|
||||||
/// which are 'right to left' rather than 'left to right', this will be
|
/// Russian, this will be left side, and for right-to-left languages like
|
||||||
/// the _right_ side, not the left.
|
/// like Arabic or Hebrew, this will be the right side.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
@ -3755,10 +3755,10 @@ impl str {
|
||||||
///
|
///
|
||||||
/// # Text directionality
|
/// # Text directionality
|
||||||
///
|
///
|
||||||
/// A string is a sequence of bytes. 'Right' 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 language like Arabic or Hebrew
|
/// position of that byte string; for a left-to-right language like English or
|
||||||
/// which are 'right to left' rather than 'left to right', this will be
|
/// Russian, this will be right side, and for right-to-left languages like
|
||||||
/// the _left_ side, not the right.
|
/// like Arabic or Hebrew, this will be the left side.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
@ -3804,10 +3804,10 @@ impl str {
|
||||||
///
|
///
|
||||||
/// # Text directionality
|
/// # Text directionality
|
||||||
///
|
///
|
||||||
/// A string is a sequence of bytes. `start` in this context means the first
|
/// A string is a sequence of bytes. 'Left' 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 language like Arabic or Hebrew
|
||||||
/// Russian, this will be left side, and for right-to-left languages like
|
/// which are 'right to left' rather than 'left to right', this will be
|
||||||
/// like Arabic or Hebrew, this will be the right side.
|
/// the _right_ side, not the left.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
@ -3840,10 +3840,10 @@ impl str {
|
||||||
///
|
///
|
||||||
/// # Text directionality
|
/// # Text directionality
|
||||||
///
|
///
|
||||||
/// A string is a sequence of bytes. `end` in this context means the last
|
/// A string is a sequence of bytes. 'Right' 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 language like Arabic or Hebrew
|
||||||
/// Russian, this will be right side, and for right-to-left languages like
|
/// which are 'right to left' rather than 'left to right', this will be
|
||||||
/// like Arabic or Hebrew, this will be the left side.
|
/// the _left_ side, not the right.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue