summaryrefslogtreecommitdiff
path: root/cli/global_timer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/global_timer.rs')
-rw-r--r--cli/global_timer.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/global_timer.rs b/cli/global_timer.rs
index eef70ddc2..d3ca52f46 100644
--- a/cli/global_timer.rs
+++ b/cli/global_timer.rs
@@ -14,6 +14,7 @@ use std::time::Instant;
use tokio::sync::oneshot;
use tokio::timer::Delay;
+#[derive(Default)]
pub struct GlobalTimer {
tx: Option<oneshot::Sender<()>>,
}