timer: fix build (#1275)

This commit is contained in:
Carl Lerche 2019-07-08 11:23:15 -07:00 committed by GitHub
parent 7797a377c3
commit 8fa1510d67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
///