Skip to content

Commit

Permalink
chore: fix typos
Browse files Browse the repository at this point in the history
Pull-Request: #5021.
  • Loading branch information
bodhi-crypo authored Dec 20, 2023
1 parent 1d04b1e commit bdcb081
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libp2p/src/transport_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ use std::sync::Arc;
/// Trait automatically implemented on all objects that implement `Transport`. Provides some
/// additional utilities.
pub trait TransportExt: Transport {
/// Adds a layer on the `Transport` that logs all trafic that passes through the streams
/// Adds a layer on the `Transport` that logs all traffic that passes through the streams
/// created by it.
///
/// This method returns an `Arc<BandwidthSinks>` that can be used to retrieve the total number
Expand Down
4 changes: 2 additions & 2 deletions protocols/relay/src/behaviour.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,12 +202,12 @@ pub enum Event {
dst_peer_id: PeerId,
error: inbound_hop::Error,
},
/// An inbound cirucit request has been accepted.
/// An inbound circuit request has been accepted.
CircuitReqAccepted {
src_peer_id: PeerId,
dst_peer_id: PeerId,
},
/// An outbound connect for an inbound cirucit request failed.
/// An outbound connect for an inbound circuit request failed.
#[deprecated(
note = "Will be removed in favor of logging them internally, see <https://github.com/libp2p/rust-libp2p/issues/4757> for details."
)]
Expand Down

0 comments on commit bdcb081

Please sign in to comment.