Skip to content

Commit 9a1e479

Browse files
tidy and fmt CI fix
1 parent 11ece1a commit 9a1e479

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/calendar/examples/date_try_from_fields.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
use icu_calendar::{AnyCalendar, AnyCalendarKind, Date};
2-
use icu_calendar::types::DateFields;
31
use icu_calendar::error::DateFromFieldsError;
2+
use icu_calendar::types::DateFields;
3+
use icu_calendar::{AnyCalendar, AnyCalendarKind, Date};
44

55
fn main() -> Result<(), DateFromFieldsError> {
66
let cal = AnyCalendar::new(AnyCalendarKind::Iso);
77

88
let mut fields = DateFields::default();
99

1010
fields.extended_year = Some(2024);
11-
fields.month_code = Some(b"M03");
11+
fields.month_code = Some(b"M03");
1212
fields.day = Some(15);
1313

1414
let date = Date::try_from_fields(fields, Default::default(), cal)?;

0 commit comments

Comments
 (0)