Fix clippy warnings

This commit is contained in:
rishflab 2020-11-03 11:00:39 +11:00
parent 606c48c752
commit 5971ef1f28
3 changed files with 1 additions and 3 deletions

View File

@ -28,7 +28,6 @@ use crate::{
network::{
peer_tracker::{self, PeerTracker},
request_response::AliceToBob,
transport,
transport::SwapTransport,
TokioExecutor,
},

View File

@ -27,7 +27,6 @@ use crate::{
monero,
network::{
peer_tracker::{self, PeerTracker},
transport,
transport::SwapTransport,
TokioExecutor,
},

View File

@ -57,7 +57,7 @@ async fn main() -> Result<()> {
let behaviour = Alice::default();
let local_key_pair = behaviour.identity();
let (listen_addr, ac, transport) = match tor_port {
let (listen_addr, _ac, transport) = match tor_port {
Some(tor_port) => {
let tor_secret_key = torut::onion::TorSecretKeyV3::generate();
let onion_address = tor_secret_key