clippy fix

This commit is contained in:
Luke Street 2024-09-05 17:52:43 -06:00
parent bc687173c0
commit 0221a2d54d
2 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ pub fn extab_diff_ui(ui: &mut egui::Ui, state: &mut DiffViewState, appearance: &
{ {
ui.colored_label( ui.colored_label(
match_color_for_symbol(match_percent, appearance), match_color_for_symbol(match_percent, appearance),
&format!("{match_percent:.0}%"), format!("{match_percent:.0}%"),
); );
} else { } else {
ui.colored_label(appearance.replace_color, "Missing"); ui.colored_label(appearance.replace_color, "Missing");

View File

@ -458,7 +458,7 @@ pub fn function_diff_ui(ui: &mut egui::Ui, state: &mut DiffViewState, appearance
{ {
ui.colored_label( ui.colored_label(
match_color_for_symbol(match_percent, appearance), match_color_for_symbol(match_percent, appearance),
&format!("{match_percent:.0}%"), format!("{match_percent:.0}%"),
); );
} else { } else {
ui.colored_label(appearance.replace_color, "Missing"); ui.colored_label(appearance.replace_color, "Missing");