move comment so it makes more sense

This commit is contained in:
minish 2024-01-13 00:49:26 -05:00
parent 3513337ac7
commit 622dfe8ae0
Signed by: min
GPG Key ID: FEECFF24EF0CE9E9
1 changed files with 2 additions and 2 deletions

View File

@ -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,
}