diff --git a/swap/src/asb/rendezvous.rs b/swap/src/asb/rendezvous.rs index 2911dbf4..301c30cc 100644 --- a/swap/src/asb/rendezvous.rs +++ b/swap/src/asb/rendezvous.rs @@ -12,7 +12,8 @@ use libp2p::{Multiaddr, PeerId}; use std::task::{Context, Poll}; use std::time::{Duration, Instant}; -/// A `NetworkBehaviour` that handles registration of the xmr-btc swap service with a rendezvous point +/// A `NetworkBehaviour` that handles registration of the xmr-btc swap service +/// with a rendezvous point pub struct Behaviour { rendezvous_behaviour: libp2p::rendezvous::Rendezvous, rendezvous_point_peer_id: PeerId, diff --git a/swap/tests/harness/mod.rs b/swap/tests/harness/mod.rs index c6e4bdfa..7a03db2d 100644 --- a/swap/tests/harness/mod.rs +++ b/swap/tests/harness/mod.rs @@ -156,16 +156,13 @@ async fn init_containers(cli: &Cli) -> (Monero, Containers<'_>) { .await .unwrap(); - ( - monero, - Containers { - bitcoind_url, - bitcoind, - monerod_container, - monero_wallet_rpc_containers, - electrs, - }, - ) + (monero, Containers { + bitcoind_url, + bitcoind, + monerod_container, + monero_wallet_rpc_containers, + electrs, + }) } async fn init_bitcoind_container(