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,13 +1,10 @@
|
||||
extern crate futures;
|
||||
extern crate tokio_threadpool;
|
||||
|
||||
use tokio_threadpool::*;
|
||||
#![deny(warnings, rust_2018_idioms)]
|
||||
|
||||
use futures::{Future, Poll, Sink, Stream};
|
||||
|
||||
use std::sync::atomic::AtomicUsize;
|
||||
use std::sync::atomic::Ordering::*;
|
||||
use std::sync::Arc;
|
||||
use tokio_threadpool::*;
|
||||
|
||||
#[test]
|
||||
fn hammer() {
|
||||
|
||||
Reference in New Issue
Block a user