diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-03-20 18:55:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-20 18:55:52 -0400 |
commit | 94405bb61722142e8c4d90bb5f31038fc9aa5f72 (patch) | |
tree | 6f53a7d5ef4e736c7a43eb552850b099249a2de1 /cli/global_timer.rs | |
parent | 223a2adbb46cb33e75ffe861ecaff6ff7e6d555e (diff) |
Fix clippy errors and upgrade Rust to 1.33.0 in CI (#1945)
Diffstat (limited to 'cli/global_timer.rs')
-rw-r--r-- | cli/global_timer.rs | 1 |
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<()>>, } |