Skip to content

Commit 0221a2d

Browse files
committed
clippy fix
1 parent bc68717 commit 0221a2d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

objdiff-gui/src/views/extab_diff.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ pub fn extab_diff_ui(ui: &mut egui::Ui, state: &mut DiffViewState, appearance: &
189189
{
190190
ui.colored_label(
191191
match_color_for_symbol(match_percent, appearance),
192-
&format!("{match_percent:.0}%"),
192+
format!("{match_percent:.0}%"),
193193
);
194194
} else {
195195
ui.colored_label(appearance.replace_color, "Missing");

objdiff-gui/src/views/function_diff.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ pub fn function_diff_ui(ui: &mut egui::Ui, state: &mut DiffViewState, appearance
458458
{
459459
ui.colored_label(
460460
match_color_for_symbol(match_percent, appearance),
461-
&format!("{match_percent:.0}%"),
461+
format!("{match_percent:.0}%"),
462462
);
463463
} else {
464464
ui.colored_label(appearance.replace_color, "Missing");

0 commit comments

Comments
 (0)