@@ -3774,10 +3774,10 @@ impl str {
3774
3774
///
3775
3775
/// # Text directionality
3776
3776
///
3777
- /// A string is a sequence of bytes. 'Left' in this context means the first
3778
- /// position of that byte string; for a language like Arabic or Hebrew
3779
- /// which are 'right to left' rather than 'left to right', this will be
3780
- /// the _right_ side, not the left .
3777
+ /// A string is a sequence of bytes. `start` in this context means the first
3778
+ /// position of that byte string; for a left-to-right language like English or
3779
+ /// Russian, this will be left side; and for right-to-left languages like
3780
+ /// like Arabic or Hebrew, this will be the right side .
3781
3781
///
3782
3782
/// # Examples
3783
3783
///
@@ -3806,10 +3806,10 @@ impl str {
3806
3806
///
3807
3807
/// # Text directionality
3808
3808
///
3809
- /// A string is a sequence of bytes. 'Right' in this context means the last
3810
- /// position of that byte string; for a language like Arabic or Hebrew
3811
- /// which are 'right to left' rather than 'left to right', this will be
3812
- /// the _left_ side, not the right .
3809
+ /// A string is a sequence of bytes. `end` in this context means the last
3810
+ /// position of that byte string; for a left-to-right language like English or
3811
+ /// Russian, this will be right side; and for right-to-left languages like
3812
+ /// like Arabic or Hebrew, this will be the left side .
3813
3813
///
3814
3814
/// # Examples
3815
3815
///
0 commit comments