mirror of
https://github.com/RGBCube/Site
synced 2025-07-31 13:07:46 +00:00
Apply clippy suggestions
This commit is contained in:
parent
a1d9c7e0d3
commit
9ffa4d63aa
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ pub async fn index_handler() -> Markup {
|
|||
|
||||
pub async fn entry_handler(Path(entry): Path<String>) -> Markup {
|
||||
if let Some((metadata, body)) = ENTRIES.get(entry.as_str()) {
|
||||
text::create(Some(&metadata.title), Page::Other, &body)
|
||||
text::create(Some(&metadata.title), Page::Other, body)
|
||||
} else {
|
||||
not_found::handler().await
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue