mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
apply cargo clippy optimizations
This commit is contained in:
parent
f91b4f5d62
commit
be32efed6d
2 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ pub fn build(mime: &str, download: Option<(&Rc<ItemAction>, &Uri)>) -> StatusPag
|
||||||
move |_| {
|
move |_| {
|
||||||
action
|
action
|
||||||
.load
|
.load
|
||||||
.activate(Some(&format!("download:{}", request)), true, false)
|
.activate(Some(&format!("download:{request}")), true, false)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ pub fn new_for_profile_identity_id(certificate: &TlsCertificate, scope: &[String
|
||||||
tooltip.push_str("\n\n<b>Scope</b>\n");
|
tooltip.push_str("\n\n<b>Scope</b>\n");
|
||||||
|
|
||||||
for path in scope {
|
for path in scope {
|
||||||
tooltip.push_str(&format!("\n<small>{}</small>", path));
|
tooltip.push_str(&format!("\n<small>{path}</small>"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue