From bd495f925288b889b770c924d8b55f09ac6a5c9f Mon Sep 17 00:00:00 2001 From: umgefahren <55623006+umgefahren@users.noreply.github.com> Date: Thu, 7 Mar 2024 19:44:52 +0100 Subject: [PATCH] Format --- protocols/autonat/tests/autonatv2.rs | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/protocols/autonat/tests/autonatv2.rs b/protocols/autonat/tests/autonatv2.rs index 4b070297c94..abd0c4bd8eb 100644 --- a/protocols/autonat/tests/autonatv2.rs +++ b/protocols/autonat/tests/autonatv2.rs @@ -545,14 +545,16 @@ async fn bootstrap() -> (Swarm, Swarm) { }) .await; - let _ = bob.wait(|event| match event { - SwarmEvent::ConnectionEstablished { - connection_id, - peer_id, - .. - } if incoming_conn_id == connection_id && peer_id == cor_server_peer => Some(()), - _ => None, - }).await; + let _ = bob + .wait(|event| match event { + SwarmEvent::ConnectionEstablished { + connection_id, + peer_id, + .. + } if incoming_conn_id == connection_id && peer_id == cor_server_peer => Some(()), + _ => None, + }) + .await; bob.wait(|event| match event { SwarmEvent::Behaviour(CombinedClientEvent::Autonat(_)) => Some(()),