| 3 | |
| 4 | #[derive(Debug)] |
| 5 | enum Lunch { |
| 6 | Soup, |
| 7 | Salad, |
| 8 | Sandwich, |
| 9 | HotDog, |
| 10 | } |
| 11 | |
| 12 | fn cafeteria_worker(name: &str, orders: Receiver<&str>, lunches: Sender<Lunch>) { |
| 13 | for order in orders { |
nothing calls this directly
no outgoing calls
no test coverage detected