move comment so it makes more sense
This commit is contained in:
parent
3513337ac7
commit
622dfe8ae0
|
@ -33,7 +33,7 @@ pub struct EngineConfig {
|
||||||
pub cache: CacheConfig,
|
pub cache: CacheConfig,
|
||||||
|
|
||||||
/// Motd displayed when the server's index page is visited.
|
/// 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,
|
/// This isn't explicitly engine-related but the engine is what gets passed to routes,
|
||||||
/// so it is here for now.
|
/// so it is here for now.
|
||||||
#[serde(default = "default_motd")]
|
#[serde(default = "default_motd")]
|
||||||
|
@ -75,7 +75,7 @@ pub struct LoggerConfig {
|
||||||
/// Minimum level a log must be for it to be shown.
|
/// Minimum level a log must be for it to be shown.
|
||||||
/// This defaults to "warn" if not specified.
|
/// This defaults to "warn" if not specified.
|
||||||
#[serde_as(as = "DisplayFromStr")]
|
#[serde_as(as = "DisplayFromStr")]
|
||||||
#[serde(default = "default_level_filter")]
|
|
||||||
// yes... kind of a hack but serde doesn't have anything better
|
// yes... kind of a hack but serde doesn't have anything better
|
||||||
|
#[serde(default = "default_level_filter")]
|
||||||
pub level: LevelFilter,
|
pub level: LevelFilter,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue