mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
apply clippy optimizations
This commit is contained in:
parent
0c08a0fb2f
commit
32d3c1b31a
3 changed files with 5 additions and 5 deletions
|
|
@ -338,7 +338,7 @@ impl Gemini {
|
|||
mime => {
|
||||
let status = page
|
||||
.content
|
||||
.to_status_mime(&mime, Some((&page.tab_action, &uri)));
|
||||
.to_status_mime(mime, Some((&page.tab_action, &uri)));
|
||||
status.set_description(Some(&format!("Content type `{mime}` yet not supported")));
|
||||
|
||||
page.status.replace(PageStatus::Failure { time: now() });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue