Various fixes

This commit is contained in:
2025-02-26 22:47:42 -07:00
parent f3c157ff06
commit 506c251d68
9 changed files with 39 additions and 65 deletions

View File

@@ -285,9 +285,7 @@ fn push_args(
} else {
arg_cb(InstructionPart::Arg(InstructionArg::Value(
InstructionArgValue::Opaque(
op.display(instruction, display_flags, None::<&str>)
.to_string()
.into(),
op.display(instruction, display_flags, None::<&str>).to_string().into(),
),
)))?;
}

View File

@@ -107,11 +107,7 @@ fn diff_data_relocs_for_range<'left, 'right>(
if reloc_eq(left_obj, right_obj, &left_reloc, &right_reloc) {
diffs.push((DataDiffKind::None, Some(left_reloc), Some(right_reloc)));
} else {
diffs.push((
DataDiffKind::Replace,
Some(left_reloc),
Some(right_reloc),
));
diffs.push((DataDiffKind::Replace, Some(left_reloc), Some(right_reloc)));
}
}
for right_reloc in right_section.relocations.iter() {