apply cargo clippy optimizations

This commit is contained in:
yggverse 2025-06-28 08:16:03 +03:00
parent f91b4f5d62
commit be32efed6d
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ pub fn build(mime: &str, download: Option<(&Rc<ItemAction>, &Uri)>) -> StatusPag
move |_| {
action
.load
.activate(Some(&format!("download:{}", request)), true, false)
.activate(Some(&format!("download:{request}")), true, false)
}
});

View File

@ -29,7 +29,7 @@ pub fn new_for_profile_identity_id(certificate: &TlsCertificate, scope: &[String
tooltip.push_str("\n\n<b>Scope</b>\n");
for path in scope {
tooltip.push_str(&format!("\n<small>{}</small>", path));
tooltip.push_str(&format!("\n<small>{path}</small>"));
}
}