From 9ffa4d63aab3285d631d56094b1c4a9b9c7f8424 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Mon, 8 Jan 2024 23:19:01 +0300 Subject: [PATCH] Apply clippy suggestions --- src/routes/blog.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/blog.rs b/src/routes/blog.rs index da2d8a5..845c9c3 100644 --- a/src/routes/blog.rs +++ b/src/routes/blog.rs @@ -72,7 +72,7 @@ pub async fn index_handler() -> Markup { pub async fn entry_handler(Path(entry): Path) -> 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 }