aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authoralyx <alyx@aleteoryx.me>2024-01-12 12:40:49 -0500
committeralyx <alyx@aleteoryx.me>2024-01-12 12:40:49 -0500
commit2feec01f58ce903d07d53bb1b79dc6b448b1a146 (patch)
tree243b2003f596f77d2d0a706911e30e1d245e9b7c /src/main.rs
parentd2c27e17897f80929d2ba5fed1055eade27a6b08 (diff)
downloadlfm_embed-2feec01f58ce903d07d53bb1b79dc6b448b1a146.tar.gz
lfm_embed-2feec01f58ce903d07d53bb1b79dc6b448b1a146.tar.bz2
lfm_embed-2feec01f58ce903d07d53bb1b79dc6b448b1a146.zip
Clippy
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
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(