Fix rustc warnings

This commit is contained in:
Paul Hauner 2019-08-14 18:58:01 +10:00
parent c93d2baa91
commit bb166a2599
No known key found for this signature in database
GPG Key ID: 303E4494BB28068C
2 changed files with 1 additions and 2 deletions

View File

@ -7,7 +7,6 @@ use futures::prelude::*;
use libp2p::{
core::identity::Keypair,
discv5::Discv5Event,
enr::Enr,
gossipsub::{Gossipsub, GossipsubEvent},
identify::{Identify, IdentifyEvent},
ping::{Ping, PingConfig, PingEvent},

View File

@ -15,7 +15,7 @@ use libp2p::core::{
transport::boxed::Boxed,
upgrade::{InboundUpgradeExt, OutboundUpgradeExt},
};
use libp2p::{core, enr::Enr, secio, PeerId, Swarm, Transport};
use libp2p::{core, secio, PeerId, Swarm, Transport};
use slog::{debug, info, trace, warn};
use std::fs::File;
use std::io::prelude::*;