Impl Default trait
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user