()
| 33 | |
| 34 | impl Router { |
| 35 | pub fn new() -> Self { |
| 36 | Self { |
| 37 | history: vec![Route::Home], |
| 38 | current: Route::Home, |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | pub fn current(&self) -> &Route { |
| 43 | &self.current |
nothing calls this directly
no outgoing calls
no test coverage detected