mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 08:51:14 -03:00
clippy: fix unnecessary_semicolon lint
https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon Closes #12328
This commit is contained in:
committed by
Johannes Altmanninger
parent
db18515aed
commit
49b3721b75
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user