Fix license allow list and clippy warning

This commit is contained in:
2025-09-13 12:46:00 -06:00
parent 190783808a
commit 0a27bee814
3 changed files with 5 additions and 5 deletions

View File

@@ -426,8 +426,8 @@ pub fn demangle(mut str: &str, options: &DemangleOptions) -> Option<String> {
}
let rest = &rest[1..];
if let Some((_, rest2)) = parse_digits(rest) {
if rest2.starts_with('@') {
let fn_demangled = demangle(&rest2[1..], options)?;
if let Some(stripped) = rest2.strip_prefix('@') {
let fn_demangled = demangle(stripped, options)?;
thunk_res = Some(format!("virtual thunk to {fn_demangled}"));
}
}