From 2feec01f58ce903d07d53bb1b79dc6b448b1a146 Mon Sep 17 00:00:00 2001 From: alyx Date: Fri, 12 Jan 2024 12:40:49 -0500 Subject: Clippy --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 34dafda..cf7856a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -47,7 +47,7 @@ async fn main() { let (ctx, dur) = STATE.get_userinfo(&s).await; let ResponseCtx(data, status) = ResponseCtx::create(ctx, q.font, q.rest).await; - let theme = q.theme.filter(|a| STATE.handlebars().has_template(&a)).unwrap_or_else(|| STATE.default_theme()); + let theme = q.theme.filter(|a| STATE.handlebars().has_template(a)).unwrap_or_else(|| STATE.default_theme()); log::debug!(target: "lfm::server::user", "Using theme {theme}"); warp::reply::with_header( warp::reply::with_header( -- cgit v1.2.3-54-g00ecf