Skip to content

Commit f7107e9

Browse files
committed
cargo fmt --all -- --config imports_granularity=Crate
1 parent 909a444 commit f7107e9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

crates/net/network-devp2p/src/session_container.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,9 +341,7 @@ impl SessionContainer {
341341
// returns if this session is marked for deletion, and not being accepted by the SessionContainer.
342342
// see: https://github.com/DMDcoin/diamond-node/issues/252
343343
pub fn should_delete_duplicate_session(&self, session: &SharedSession) -> Option<PeerId> {
344-
345-
let (node_id, peer_id, uid) =
346-
{
344+
let (node_id, peer_id, uid) = {
347345
let lock = session.lock();
348346
let peer_id = lock.token().clone();
349347

0 commit comments

Comments
 (0)