File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ impl CcsKind {
44
44
/// For the purposes of this iterator, private use characters,
45
45
/// as well as unassigned codepoints other than noncharacters,
46
46
/// are considered valid base characters,
47
- /// so combining character sequences that start with such will not be modified.
47
+ /// so combining character sequences that follow such will not be modified.
48
48
///
49
49
/// In addition, combining character sequences that consist entirely of `Default_Ignorable_Code_Point`s
50
50
/// will not be modified. (Because of this, this iterator may buffer up to the entire length of its input;
Original file line number Diff line number Diff line change @@ -133,9 +133,13 @@ pub trait UnicodeNormalization<I: Iterator<Item = char>> {
133
133
134
134
/// An iterator over the string with
135
135
/// [defective combining character sequences](https://www.unicode.org/versions/Unicode15.0.0/UnicodeStandard-15.0.pdf#I6.1.36487)
136
- /// corrected via the insertion of U+00A0 NO-BREAK SPACE.
136
+ /// corrected via the insertion of U+00A0 NO-BREAK SPACE in front of them .
137
137
///
138
- /// Sequences starting with a private use character or an unassigned codepoint that is not a noncharacter
138
+ /// This helps ensure that the sequences will be displayed correctly and consistently,
139
+ /// with the correct advance width,
140
+ /// in diverse contexts (for example, when printed to a terminal).
141
+ ///
142
+ /// Sequences following a private use character or an unassigned codepoint that is not a noncharacter
139
143
/// are not corrected. Additionally, combining character sequences consisting entirely of
140
144
/// [default-ignorable code points](https://www.unicode.org/versions/Unicode15.0.0/UnicodeStandard-15.0.pdf#I8.1.40715)
141
145
/// are also left untouched. Handling this last case may require the iterator
You can’t perform that action at this time.
0 commit comments