mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-28 00:00:11 +02:00
Update Tokio to Rust 2018 (#1082)
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
extern crate env_logger;
|
||||
extern crate futures;
|
||||
extern crate tokio;
|
||||
extern crate tokio_io;
|
||||
|
||||
use tokio::prelude::*;
|
||||
use tokio::timer::*;
|
||||
#![deny(warnings, rust_2018_idioms)]
|
||||
|
||||
use env_logger;
|
||||
use std::sync::mpsc;
|
||||
use std::time::{Duration, Instant};
|
||||
use tokio;
|
||||
use tokio::prelude::*;
|
||||
use tokio::timer::*;
|
||||
|
||||
#[test]
|
||||
fn timer_with_runtime() {
|
||||
|
||||
Reference in New Issue
Block a user