(&self)
| 474 | // Define function for Day enum |
| 475 | impl Day { |
| 476 | fn is_weekend(&self) -> bool { |
| 477 | match self { |
| 478 | Day::Saturday | Day::Sunday => true, |
| 479 | _ => false |
| 480 | } |
| 481 | } |
| 482 | } |
| 483 | |
| 484 | // Use enum to store todays day |
nothing calls this directly
no outgoing calls
no test coverage detected