mirror of
https://github.com/openharmony/third_party_rust_unicode-bidi.git
synced 2026-07-01 21:24:00 -04:00
fix comments
This commit is contained in:
+2
-1
@@ -98,12 +98,12 @@ pub fn compute(
|
||||
if !is_isolate {
|
||||
// X9 +
|
||||
// <https://www.unicode.org/reports/tr9/#Retaining_Explicit_Formatting_Characters>
|
||||
// (PDF handled below)
|
||||
processing_classes[i] = BN;
|
||||
}
|
||||
}
|
||||
|
||||
// <http://www.unicode.org/reports/tr9/#X6a>
|
||||
// The BN is from <https://www.unicode.org/reports/tr9/#Retaining_Explicit_Formatting_Characters>
|
||||
PDI => {
|
||||
if overflow_isolate_count > 0 {
|
||||
overflow_isolate_count -= 1;
|
||||
@@ -145,6 +145,7 @@ pub fn compute(
|
||||
}
|
||||
// <https://www.unicode.org/reports/tr9/#Retaining_Explicit_Formatting_Characters>
|
||||
levels[i] = stack.last().level;
|
||||
// X9 part of retaining explicit formatting characters
|
||||
processing_classes[i] = BN;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user