mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +02:00
Update Tokio to Rust 2018 (#1082)
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
#![cfg(unix)]
|
||||
|
||||
extern crate libc;
|
||||
|
||||
use std::sync::mpsc::channel;
|
||||
use std::thread;
|
||||
#![deny(warnings, rust_2018_idioms)]
|
||||
|
||||
pub mod support;
|
||||
use support::*;
|
||||
use crate::support::*;
|
||||
|
||||
use libc;
|
||||
use std::sync::mpsc::channel;
|
||||
use std::thread;
|
||||
|
||||
#[test]
|
||||
fn multi_loop() {
|
||||
|
||||
Reference in New Issue
Block a user