mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-27 00:00:12 +02:00
Update Tokio to Rust 2018 (#1082)
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
extern crate tokio_executor;
|
||||
extern crate tokio_timer;
|
||||
|
||||
use tokio_timer::clock;
|
||||
use tokio_timer::clock::*;
|
||||
#![deny(warnings, rust_2018_idioms)]
|
||||
|
||||
use std::time::Instant;
|
||||
use tokio_executor;
|
||||
use tokio_timer::clock;
|
||||
use tokio_timer::clock::*;
|
||||
|
||||
struct ConstNow(Instant);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user