(&mut self, key: KeyCode)
| 20 | } |
| 21 | |
| 22 | pub fn start(&mut self, key: KeyCode) { |
| 23 | self.active = true; |
| 24 | self.start_time = Some(Instant::now()); |
| 25 | self.leader_key = Some(key); |
| 26 | } |
| 27 | |
| 28 | pub fn check_timeout(&mut self) -> bool { |
| 29 | if let Some(start) = self.start_time { |
nothing calls this directly
no outgoing calls
no test coverage detected