From 684ca95197f4e0b1db270457e6c69c3f383c7ea0 Mon Sep 17 00:00:00 2001 From: onur-ozkan Date: Wed, 22 Jan 2025 19:52:08 +0300 Subject: [PATCH] fix formatting error Signed-off-by: onur-ozkan --- mm2src/mm2_p2p/src/behaviours/atomicdex.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mm2src/mm2_p2p/src/behaviours/atomicdex.rs b/mm2src/mm2_p2p/src/behaviours/atomicdex.rs index 4f12926ab6..7e855487b3 100644 --- a/mm2src/mm2_p2p/src/behaviours/atomicdex.rs +++ b/mm2src/mm2_p2p/src/behaviours/atomicdex.rs @@ -186,10 +186,7 @@ pub enum AdexBehaviourCmd { /// /// Returns `false` if a dial attempt to the given address has already been made, /// in which case the caller must skip the dial attempt. -fn check_and_mark_dialed( - recently_dialed_peers: &mut MutexGuard>, - addr: &Multiaddr, -) -> bool { +fn check_and_mark_dialed(recently_dialed_peers: &mut MutexGuard>, addr: &Multiaddr) -> bool { if recently_dialed_peers.get(addr).is_some() { info!("Connection attempt was already made recently to '{addr}'."); return false;