@@ -3786,10 +3786,10 @@ impl str {
3786
3786
///
3787
3787
/// # Text directionality
3788
3788
///
3789
- /// A string is a sequence of bytes. 'Left' in this context means the first
3790
- /// position of that byte string; for a language like Arabic or Hebrew
3791
- /// which are 'right to left' rather than 'left to right', this will be
3792
- /// the _right_ side, not the left .
3789
+ /// A string is a sequence of bytes. `start` in this context means the first
3790
+ /// position of that byte string; for a left-to-right language like English or
3791
+ /// Russian, this will be left side; and for right-to-left languages like
3792
+ /// like Arabic or Hebrew, this will be the right side .
3793
3793
///
3794
3794
/// # Examples
3795
3795
///
@@ -3818,10 +3818,10 @@ impl str {
3818
3818
///
3819
3819
/// # Text directionality
3820
3820
///
3821
- /// A string is a sequence of bytes. 'Right' in this context means the last
3822
- /// position of that byte string; for a language like Arabic or Hebrew
3823
- /// which are 'right to left' rather than 'left to right', this will be
3824
- /// the _left_ side, not the right .
3821
+ /// A string is a sequence of bytes. `end` in this context means the last
3822
+ /// position of that byte string; for a left-to-right language like English or
3823
+ /// Russian, this will be right side; and for right-to-left languages like
3824
+ /// like Arabic or Hebrew, this will be the left side .
3825
3825
///
3826
3826
/// # Examples
3827
3827
///
0 commit comments