mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
Fix some new warnings
This commit is contained in:
parent
112f1ddeba
commit
1d38bc0419
65 changed files with 179 additions and 175 deletions
|
@ -114,8 +114,8 @@ pub fn fixed_to_float(before: usize, f: i32) -> f64 {
|
|||
|
||||
pub fn is_bidi_control(c: char) -> bool {
|
||||
match c {
|
||||
'\u{202A}'...'\u{202E}' => true,
|
||||
'\u{2066}'...'\u{2069}' => true,
|
||||
'\u{202A}'..='\u{202E}' => true,
|
||||
'\u{2066}'..='\u{2069}' => true,
|
||||
'\u{200E}' | '\u{200F}' | '\u{061C}' => true,
|
||||
_ => false,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue