clippy: fix unnecessary_semicolon lint

https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon

Closes #12328
This commit is contained in:
xtqqczze
2026-01-14 15:46:05 +00:00
committed by Johannes Altmanninger
parent db18515aed
commit 49b3721b75
41 changed files with 81 additions and 80 deletions

View File

@@ -184,11 +184,11 @@ pub fn is_hex_float<Chars: Iterator<Item = char>>(mut chars: Chars) -> bool {
}
Some('0') => (),
_ => return false,
};
}
match chars.next() {
Some('x') | Some('X') => (),
_ => return false,
};
}
match chars.next() {
Some(c) => c.is_ascii_hexdigit(),
None => false,