Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Sep 3, 2023
1 parent 4f909c9 commit 9f640f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion protocols/perf/src/bin/perf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use libp2p_core::{
};
use libp2p_identity::PeerId;
use libp2p_perf::{Run, RunDuration, RunParams};
use libp2p_swarm::{NetworkBehaviour, Swarm, SwarmEvent, SwarmConfig};
use libp2p_swarm::{NetworkBehaviour, Swarm, SwarmConfig, SwarmEvent};
use log::{error, info};
use serde::{Deserialize, Serialize};

Expand Down
7 changes: 1 addition & 6 deletions swarm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2008,12 +2008,7 @@ mod tests {
.boxed();
let behaviour = CallTraceBehaviour::new(MockBehaviour::new(handler_proto));

Swarm::new_with_config(
transport,
behaviour,
local_public_key.into(),
config,
)
Swarm::new_with_config(transport, behaviour, local_public_key.into(), config)
}

fn swarms_connected<TBehaviour>(
Expand Down

0 comments on commit 9f640f3

Please sign in to comment.