From 8fa1510d6782f8e98d77bc5e500c019c8a04d853 Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Mon, 8 Jul 2019 11:23:15 -0700 Subject: [PATCH] timer: fix build (#1275) --- tokio-timer/src/timer/handle.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio-timer/src/timer/handle.rs b/tokio-timer/src/timer/handle.rs index 2abdba3a4..509451eee 100644 --- a/tokio-timer/src/timer/handle.rs +++ b/tokio-timer/src/timer/handle.rs @@ -4,7 +4,7 @@ use crate::{Delay, Error, /*Interval,*/ Timeout}; use std::cell::RefCell; use std::fmt; use std::sync::{Arc, Weak}; -use std::time::Instant; +use std::time::{Duration, Instant}; /// Handle to timer instance. ///