Skip to content

Commit bdcb081

Browse files
authored
chore: fix typos
Pull-Request: #5021.
1 parent 1d04b1e commit bdcb081

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libp2p/src/transport_ext.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ use std::sync::Arc;
3333
/// Trait automatically implemented on all objects that implement `Transport`. Provides some
3434
/// additional utilities.
3535
pub trait TransportExt: Transport {
36-
/// Adds a layer on the `Transport` that logs all trafic that passes through the streams
36+
/// Adds a layer on the `Transport` that logs all traffic that passes through the streams
3737
/// created by it.
3838
///
3939
/// This method returns an `Arc<BandwidthSinks>` that can be used to retrieve the total number

protocols/relay/src/behaviour.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,12 +202,12 @@ pub enum Event {
202202
dst_peer_id: PeerId,
203203
error: inbound_hop::Error,
204204
},
205-
/// An inbound cirucit request has been accepted.
205+
/// An inbound circuit request has been accepted.
206206
CircuitReqAccepted {
207207
src_peer_id: PeerId,
208208
dst_peer_id: PeerId,
209209
},
210-
/// An outbound connect for an inbound cirucit request failed.
210+
/// An outbound connect for an inbound circuit request failed.
211211
#[deprecated(
212212
note = "Will be removed in favor of logging them internally, see <https://github.com/libp2p/rust-libp2p/issues/4757> for details."
213213
)]

0 commit comments

Comments
 (0)