(name: &'static str)
| 7 | |
| 8 | impl Folder { |
| 9 | pub fn new(name: &'static str) -> Self { |
| 10 | Self { |
| 11 | name, |
| 12 | components: vec![], |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | pub fn add(&mut self, component: impl Component + 'static) { |
| 17 | self.components.push(Box::new(component)); |
nothing calls this directly
no outgoing calls
no test coverage detected