Skip to content

Commit 3ba261f

Browse files
authored
chore(components): Derive PartialOrd for CalendarDate (#1932)
1 parent e401525 commit 3ba261f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/freya-components/src/calendar.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ define_theme! {
4848
}
4949
}
5050

51-
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
51+
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
5252
pub struct CalendarDate {
5353
pub year: i32,
5454
pub month: u32,

0 commit comments

Comments
 (0)