mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-23 18:21:13 +08:00
style: 自动格式化
This commit is contained in:
@@ -420,7 +420,11 @@ fn parse_iso_strict(s: &str) -> Option<f64> {
|
||||
return None;
|
||||
}
|
||||
pos += 6;
|
||||
if neg { -yv } else { yv }
|
||||
if neg {
|
||||
-yv
|
||||
} else {
|
||||
yv
|
||||
}
|
||||
} else {
|
||||
if b.len() - pos < 4 || !b[pos..pos + 4].iter().all(|c| c.is_ascii_digit()) {
|
||||
return None;
|
||||
|
||||
Reference in New Issue
Block a user