mirror of https://github.com/encounter/objdiff.git
clippy fix
This commit is contained in:
parent
bc687173c0
commit
0221a2d54d
|
@ -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");
|
||||||
|
|
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue