()
| 30 | } |
| 31 | |
| 32 | fn main() { |
| 33 | env_logger::init(); |
| 34 | let handle = thread::spawn(|| dad::cook_spaghetti()); |
| 35 | |
| 36 | mom::cook_sauce_and_set_table(); |
| 37 | |
| 38 | if handle.join().unwrap_or(false) { |
| 39 | info!("Spaghetti time! Yum!") |
| 40 | } else { |
| 41 | error!("Dad messed up the spaghetti. Order pizza instead?"); |
| 42 | } |
| 43 | } |
nothing calls this directly
no test coverage detected