Avoid some warnings. (#733)

- mdns: unused `Result` which must be used
- kad: unused import
- mplex: use of deprecated item
This commit is contained in:
Toralf Wittner
2018-12-05 15:01:17 +01:00
committed by Pierre Krieger
parent b2367e59ce
commit 4140047f34
3 changed files with 11 additions and 11 deletions

View File

@ -458,6 +458,7 @@ mod tests {
extern crate libp2p_tcp_transport;
extern crate tokio;
/*// TODO: restore
use self::libp2p_tcp_transport::TcpConfig;
use self::tokio::runtime::current_thread::Runtime;
use futures::{Future, Sink, Stream};
@ -467,7 +468,6 @@ mod tests {
use std::sync::mpsc;
use std::thread;
/*// TODO: restore
#[test]
fn correct_transfer() {
// We open a server and a client, send a message between the two, and check that they were