mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-07 00:00:08 +02:00
Update Tokio to Rust 2018 (#1082)
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
#[macro_use]
|
||||
extern crate tokio_test;
|
||||
extern crate futures;
|
||||
extern crate tokio_timer;
|
||||
#![deny(warnings, rust_2018_idioms)]
|
||||
|
||||
use futures::Future;
|
||||
use std::time::{Duration, Instant};
|
||||
use tokio_test::clock::MockClock;
|
||||
use tokio_test::task::MockTask;
|
||||
use tokio_test::{assert_not_ready, assert_ready};
|
||||
use tokio_timer::Delay;
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user