clippy fixes

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-07-17 13:49:53 -07:00
parent a4c1b38116
commit 8a1398face
26 changed files with 51 additions and 62 deletions

View File

@@ -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")
}),
);
});