(topping: &str)
| 18 | // Implement functionality for the Pizza struct |
| 19 | impl Pizza { |
| 20 | pub fn lunch(topping: &str) -> Pizza { |
| 21 | Pizza { |
| 22 | dough: String::from("regular dough"), |
| 23 | cheese: String::from("mozzarella"), |
| 24 | topping: String::from(topping), |
| 25 | } |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | // help_customer is public so functions can call it |
nothing calls this directly
no outgoing calls
no test coverage detected