Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Sep 3, 2023
1 parent 32162a6 commit 054c9d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transports/webrtc/examples/listen_ping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fn create_swarm() -> Result<Swarm<Behaviour>> {
.map(|(peer_id, conn), _| (peer_id, StreamMuxerBox::new(conn)))
.boxed();

Ok(SwarmConfig::new_with_config(
Ok(Swarm::new_with_config(
transport,
Behaviour::default(),
peer_id,
Expand Down

0 comments on commit 054c9d3

Please sign in to comment.