(name: String, age: u32)
| 10 | |
| 11 | impl Person { |
| 12 | fn new(name: String, age: u32) -> Self { |
| 13 | Person { name, age } |
| 14 | } |
| 15 | |
| 16 | fn greet(&self) { |
| 17 | println!("Hello, my name is {}", self.name); |
nothing calls this directly
no outgoing calls
no test coverage detected