Impl Default trait

This commit is contained in:
2026-01-14 21:19:14 +02:00
parent 1ce55675db
commit 70de9bcbf1
2 changed files with 7 additions and 3 deletions

View File

@@ -88,8 +88,10 @@ impl Slot {
position: other_pos,
}
}
}
pub fn default() -> Self {
impl Default for Slot {
fn default() -> Self {
Self {
day: Day(1),
position: ShiftPosition::First,