Minor linting

This commit is contained in:
Yuri Astrakhan
2024-09-28 00:56:02 -04:00
committed by Amanieu d'Antras
parent 8a68450e25
commit 0760ed6ca7
9 changed files with 13 additions and 22 deletions

View File

@@ -169,10 +169,7 @@ pub fn assert(shim_addr: usize, fnname: &str, expected: &str) {
}
if !found {
panic!(
"failed to find instruction `{}` in the disassembly",
expected
);
panic!("failed to find instruction `{expected}` in the disassembly");
} else if !probably_only_one_instruction {
panic!(
"instruction found, but the disassembly contains too many \