diff --git a/swap/src/alice.rs b/swap/src/alice.rs index 50235851..ca8a45e3 100644 --- a/swap/src/alice.rs +++ b/swap/src/alice.rs @@ -127,7 +127,7 @@ fn new_swarm(listen: Multiaddr, port: Option) -> Result { { transport = match port { None => transport::build(local_key_pair)?, - Some(port) => anyhow::bail!("local port should not be provided for non-tor usage"), + Some(_) => anyhow::bail!("local port should not be provided for non-tor usage"), }; }