Skip to content

Commit a1ddbb3

Browse files
committed
f fmt
1 parent dce5a58 commit a1ddbb3

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

src/cli.rs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,7 @@ pub(crate) async fn poll_for_user_input(
111111
},
112112
};
113113

114-
if connect_peer_if_necessary(
115-
pubkey,
116-
peer_addr,
117-
peer_manager.clone(),
118-
)
114+
if connect_peer_if_necessary(pubkey, peer_addr, peer_manager.clone())
119115
.await
120116
.is_err()
121117
{
@@ -438,11 +434,7 @@ pub(crate) async fn poll_for_user_input(
438434
continue;
439435
},
440436
};
441-
if connect_peer_if_necessary(
442-
pubkey,
443-
peer_addr,
444-
peer_manager.clone(),
445-
)
437+
if connect_peer_if_necessary(pubkey, peer_addr, peer_manager.clone())
446438
.await
447439
.is_ok()
448440
{

0 commit comments

Comments
 (0)