Skip to content

Commit 59b5ddc

Browse files
committed
refactor(clock): move justify above common
1 parent 27c14d2 commit 59b5ddc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/modules/clock.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,17 @@ pub struct ClockModule {
5858
#[serde(default)]
5959
orientation: ModuleOrientation,
6060

61-
/// See [common options](module-level-options#common-options).
62-
#[serde(flatten)]
63-
pub common: Option<CommonConfig>,
64-
6561
/// The justification (alignment) of the date/time shown on the bar.
6662
///
6763
/// **Valid options**: `left`, `right`, `center`, `fill`
6864
/// <br>
6965
/// **Default**: `left`
7066
#[serde(default)]
7167
justify: ModuleJustification,
68+
69+
/// See [common options](module-level-options#common-options).
70+
#[serde(flatten)]
71+
pub common: Option<CommonConfig>,
7272
}
7373

7474
impl Default for ClockModule {

0 commit comments

Comments
 (0)