Make DateTime impl Copy

This commit is contained in:
Nathan Fisher 2024-01-30 20:57:36 -05:00
parent a440e730fa
commit 9563b1da0d

View File

@ -9,7 +9,7 @@ use {
std::{cmp, fmt},
};
#[derive(Clone, Debug, Eq, PartialEq)]
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))]
pub struct DateTime {
pub year: Year,