mirror of
https://github.com/astral-sh/ruff
synced 2026-01-07 14:44:17 -05:00
Use Rust 1.75 toolchain (#9437)
This commit is contained in:
@@ -1476,7 +1476,7 @@ impl Radix {
|
||||
Radix::Binary => matches!(c, '0'..='1'),
|
||||
Radix::Octal => matches!(c, '0'..='7'),
|
||||
Radix::Decimal => c.is_ascii_digit(),
|
||||
Radix::Hex => matches!(c, '0'..='9' | 'a'..='f' | 'A'..='F'),
|
||||
Radix::Hex => c.is_ascii_hexdigit(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user