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