To access the struct and the part to make public must both use pub
| 10 | |
| 11 | // To access the struct and the part to make public must both use pub |
| 12 | pub struct Pizza { |
| 13 | pub dough: String, |
| 14 | pub cheese: String, |
| 15 | pub topping: String, |
| 16 | } |
| 17 | |
| 18 | // Implement functionality for the Pizza struct |
| 19 | impl Pizza { |
nothing calls this directly
no outgoing calls
no test coverage detected