Switch ping to edition 2018 (#780)

This commit is contained in:
Pierre Krieger
2018-12-13 15:34:35 +01:00
committed by GitHub
parent 0803e36d5a
commit 7b8e3dd613
5 changed files with 4 additions and 20 deletions

View File

@ -320,11 +320,7 @@ impl Encoder for Codec {
#[cfg(test)]
mod tests {
extern crate tokio;
extern crate tokio_tcp;
use self::tokio_tcp::TcpListener;
use self::tokio_tcp::TcpStream;
use tokio_tcp::{TcpListener, TcpStream};
use super::Ping;
use futures::{Future, Stream};
use libp2p_core::upgrade::{InboundUpgrade, OutboundUpgrade};