mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-28 09:11:34 +00:00
Avoid some warnings. (#733)
- mdns: unused `Result` which must be used - kad: unused import - mplex: use of deprecated item
This commit is contained in:
committed by
Pierre Krieger
parent
b2367e59ce
commit
4140047f34
@ -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
|
||||
|
Reference in New Issue
Block a user