diff --git a/src/config/common.rs b/src/config/common.rs index 1b66318..855a3dc 100644 --- a/src/config/common.rs +++ b/src/config/common.rs @@ -206,7 +206,7 @@ pub enum ModuleJustification { Left, Right, Center, - Fill + Fill, } impl From for Justification { @@ -215,7 +215,7 @@ impl From for Justification { ModuleJustification::Left => Self::Left, ModuleJustification::Right => Self::Right, ModuleJustification::Center => Self::Center, - ModuleJustification::Fill => Self::Fill + ModuleJustification::Fill => Self::Fill, } } } diff --git a/src/modules/clock.rs b/src/modules/clock.rs index fc14df5..8f155a5 100644 --- a/src/modules/clock.rs +++ b/src/modules/clock.rs @@ -68,7 +68,7 @@ pub struct ClockModule { ///
/// **Default**: `left` #[serde(default)] - justify: ModuleJustification + justify: ModuleJustification, } impl Default for ClockModule { @@ -79,7 +79,7 @@ impl Default for ClockModule { locale: default_locale(), orientation: ModuleOrientation::Horizontal, common: Some(CommonConfig::default()), - justify: ModuleJustification::Left + justify: ModuleJustification::Left, } } } diff --git a/src/modules/custom/label.rs b/src/modules/custom/label.rs index c78868d..8903789 100644 --- a/src/modules/custom/label.rs +++ b/src/modules/custom/label.rs @@ -43,7 +43,7 @@ pub struct LabelWidget { ///
/// **Default**: `left` #[serde(default)] - justify: ModuleJustification + justify: ModuleJustification, } impl CustomWidget for LabelWidget {