mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-08-26 14:32:26 +00:00
apply cargo clippy optimizations
This commit is contained in:
parent
f91b4f5d62
commit
be32efed6d
@ -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…
x
Reference in New Issue
Block a user