@@ -679,7 +679,7 @@ pub fn render_add_column_routes(
|
||||
|
||||
// TODO: spin off the list search here instead
|
||||
|
||||
ui.label(format!("error: could not find {:?}", list_kind));
|
||||
ui.label(format!("error: could not find {list_kind:?}"));
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -139,7 +139,7 @@ fn show_warnings(ui: &mut Ui, warn_no_icon: bool, warn_no_title: bool) {
|
||||
|
||||
ui.add(
|
||||
egui::Label::new(
|
||||
RichText::new(format!("Please {}.", message)).color(ui.visuals().error_fg_color),
|
||||
RichText::new(format!("Please {message}.")).color(ui.visuals().error_fg_color),
|
||||
)
|
||||
.wrap(),
|
||||
);
|
||||
|
||||
@@ -121,12 +121,9 @@ impl<'a> EditProfileView<'a> {
|
||||
ui.colored_label(
|
||||
ui.visuals().noninteractive().fg_stroke.color,
|
||||
RichText::new(if use_domain {
|
||||
format!("\"{}\" will be used for identification", suffix)
|
||||
format!("\"{suffix}\" will be used for identification")
|
||||
} else {
|
||||
format!(
|
||||
"\"{}\" at \"{}\" will be used for identification",
|
||||
prefix, suffix
|
||||
)
|
||||
format!("\"{prefix}\" at \"{suffix}\" will be used for identification")
|
||||
}),
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user