From a742f7dbd8bda0bf23a6d5273e5dd2f83b9d4c9f Mon Sep 17 00:00:00 2001 From: metamuffin Date: Fri, 27 Jan 2023 21:48:22 +0100 Subject: clippy --- server/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/src/main.rs') diff --git a/server/src/main.rs b/server/src/main.rs index 00543ce..250e29c 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -18,7 +18,7 @@ pub mod database; pub mod library; pub mod routes; -pub static CONF: Lazy = Lazy::new(|| load_global_config()); +pub static CONF: Lazy = Lazy::new(load_global_config); #[launch] fn rocket() -> _ { @@ -28,7 +28,7 @@ fn rocket() -> _ { .init(); #[cfg(feature = "bypass-auth")] - warn!("authentification bypass enabled"); + log::warn!("authentification bypass enabled"); let remuxer = RemuxerContext::new(); let library = Library::open(&CONF.library_path).unwrap(); -- cgit v1.2.3-70-g09d2