We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b64827 commit 61850e0Copy full SHA for 61850e0
src/legacy.rs
@@ -155,8 +155,8 @@ impl<'a> fmt::Display for Demangle<'a> {
155
_ => {
156
if escape.starts_with('u') {
157
let digits = &escape[1..];
158
- let all_lower_hex = digits.chars().all(|c| match c {
159
- '0'..='9' | 'a'..='f' => true,
+ let all_lower_hex = digits.bytes().all(|c| match c {
+ b'0'..=b'9' | b'a'..=b'f' => true,
160
_ => false,
161
});
162
let c = u32::from_str_radix(digits, 16)
0 commit comments