diff options
Diffstat (limited to 'cli/global_timer.rs')
-rw-r--r-- | cli/global_timer.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cli/global_timer.rs b/cli/global_timer.rs index 1870ebd54..bf335bff0 100644 --- a/cli/global_timer.rs +++ b/cli/global_timer.rs @@ -20,10 +20,6 @@ pub struct GlobalTimer { } impl GlobalTimer { - pub fn new() -> Self { - Self { tx: None } - } - pub fn cancel(&mut self) { if let Some(tx) = self.tx.take() { tx.send(()).ok(); |