From 622dfe8ae0ff426a844ab4a6c93ae5323dc4b832 Mon Sep 17 00:00:00 2001 From: minish Date: Sat, 13 Jan 2024 00:49:26 -0500 Subject: [PATCH] move comment so it makes more sense --- src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.rs b/src/config.rs index efb6c0a..f26ef12 100644 --- a/src/config.rs +++ b/src/config.rs @@ -33,7 +33,7 @@ pub struct EngineConfig { pub cache: CacheConfig, /// Motd displayed when the server's index page is visited. - /// + /// /// This isn't explicitly engine-related but the engine is what gets passed to routes, /// so it is here for now. #[serde(default = "default_motd")] @@ -75,7 +75,7 @@ pub struct LoggerConfig { /// Minimum level a log must be for it to be shown. /// This defaults to "warn" if not specified. #[serde_as(as = "DisplayFromStr")] - #[serde(default = "default_level_filter")] // yes... kind of a hack but serde doesn't have anything better + #[serde(default = "default_level_filter")] pub level: LevelFilter, }