Skip to content

Commit 0a6f8e8

Browse files
committed
Fixes
1 parent 8d52c0f commit 0a6f8e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

objdiff-gui/src/views/diff.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ fn get_asm_text(obj: &Object, symbol_diff: &SymbolDiff, symbol_idx: usize, diff_
7171
for ins_row in &symbol_diff.instruction_rows {
7272
let mut line = String::new();
7373
let result = display_row(obj, symbol_idx, ins_row, diff_config, |segment| {
74-
line.push_str(&segment.text);
74+
line.push_str(&segment.text.to_string());
7575
Ok(())
7676
});
7777

@@ -414,7 +414,7 @@ pub fn diff_view_ui(
414414
ret = Some(DiffViewAction::SelectingRight(symbol_ref.clone()));
415415
}
416416

417-
/// Copy base ASM button.
417+
// Copy base ASM button.
418418
if let Some((_, symbol_diff, symbol_idx)) = right_ctx.symbol {
419419
if let Some((obj, _)) = right_ctx.obj {
420420
if ui

0 commit comments

Comments
 (0)