()
| 12 | impl MapSum { |
| 13 | |
| 14 | fn new() -> Self { |
| 15 | MapSum { |
| 16 | mmp: HashMap::new() |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | fn insert(&mut self, key: String, val: i32) { |
| 21 | if let Some(x) = self.mmp.get_mut(&key) { |
nothing calls this directly
no outgoing calls
no test coverage detected