Clean up use to keep rust 1.43.0 from complaining (#9740)

This commit is contained in:
Michael Vines
2020-04-27 16:54:11 -07:00
committed by GitHub
parent 2f705b5b55
commit c11abf88b7
15 changed files with 24 additions and 48 deletions

View File

@ -1,14 +1,8 @@
use bytes::Bytes;
use log::*;
use serde_derive::{Deserialize, Serialize};
use std::io;
use std::net::SocketAddr;
use std::time::Duration;
use tokio;
use tokio::net::TcpListener;
use tokio::prelude::*;
use tokio::reactor::Handle;
use tokio::runtime::Runtime;
use std::{io, net::SocketAddr, time::Duration};
use tokio::{net::TcpListener, prelude::*, reactor::Handle, runtime::Runtime};
use tokio_codec::{BytesCodec, Decoder};
pub type IpEchoServer = Runtime;