diff --git a/swarm/src/lib.rs b/swarm/src/lib.rs index dac380855aa..cf2961cef6d 100644 --- a/swarm/src/lib.rs +++ b/swarm/src/lib.rs @@ -1147,7 +1147,7 @@ where addrs }; - // If address translation yielded nothing, broacast the original candidate address. + // If address translation yielded nothing, broadcast the original candidate address. if translated_addresses.is_empty() { self.behaviour .on_swarm_event(FromSwarm::NewExternalAddrCandidate( diff --git a/transports/webrtc/src/tokio/sdp.rs b/transports/webrtc/src/tokio/sdp.rs index 8549a864dcc..4be4c19f188 100644 --- a/transports/webrtc/src/tokio/sdp.rs +++ b/transports/webrtc/src/tokio/sdp.rs @@ -98,7 +98,7 @@ pub(crate) fn offer(addr: SocketAddr, client_ufrag: &str) -> RTCSessionDescripti // // a=ice-options:ice2 // -// Indicates that we are complying with RFC8839 (as oppposed to the legacy RFC5245). +// Indicates that we are complying with RFC8839 (as opposed to the legacy RFC5245). // // a=ice-ufrag: // a=ice-pwd: