mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-29 01:31:33 +00:00
Address edition-2018 idioms. (#929)
This commit is contained in:
committed by
Pierre Krieger
parent
21810e46bd
commit
eeed66707b
@ -27,10 +27,6 @@
|
||||
//! > **Note**: Although this crate is hosted in the libp2p repo, it is purely a utility crate and
|
||||
//! > not at all specific to libp2p.
|
||||
|
||||
extern crate bytes;
|
||||
extern crate futures;
|
||||
extern crate tokio_io;
|
||||
|
||||
use bytes::{Buf, IntoBuf};
|
||||
use futures::{Async, AsyncSink, Poll, Sink, Stream};
|
||||
use std::cmp;
|
||||
|
Reference in New Issue
Block a user