@@ -3774,10 +3774,10 @@ impl str {
37743774 ///
37753775 /// # Text directionality
37763776 ///
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 .
37813781 ///
37823782 /// # Examples
37833783 ///
@@ -3806,10 +3806,10 @@ impl str {
38063806 ///
38073807 /// # Text directionality
38083808 ///
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 .
38133813 ///
38143814 /// # Examples
38153815 ///
0 commit comments