@@ -3786,10 +3786,10 @@ impl str {
37863786 ///
37873787 /// # Text directionality
37883788 ///
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 .
37933793 ///
37943794 /// # Examples
37953795 ///
@@ -3818,10 +3818,10 @@ impl str {
38183818 ///
38193819 /// # Text directionality
38203820 ///
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 .
38253825 ///
38263826 /// # Examples
38273827 ///
0 commit comments