Skip to content

Commit

Permalink
chore(protocols): fix some typos in comment (#5665)
Browse files Browse the repository at this point in the history
## Description

<!--
Please write a summary of your changes and why you made them.
This section will appear as the commit message after merging.
Please craft it accordingly.
For a quick primer on good commit messages, check out this blog post:
https://cbea.ms/git-commit/

Please include any relevant issues in here, for example:

Related https://github.com/libp2p/rust-libp2p/issues/ABCD.
Fixes https://github.com/libp2p/rust-libp2p/issues/XYZ.
-->

fix some typos in comment



## Notes & open questions

<!--
Any notes, remarks or open questions you have to make about the PR which
don't need to go into the final commit message.
-->

## Change checklist

<!-- Please add a Changelog entry in the appropriate crates and bump the
crate versions if needed. See
<https://github.com/libp2p/rust-libp2p/blob/master/docs/release.md#development-between-releases>-->

- [ ] I have performed a self-review of my own code
- [ ] I have made corresponding changes to the documentation
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] A changelog entry has been made in the appropriate crates

Signed-off-by: wangjingcun <[email protected]>
  • Loading branch information
wangjingcun authored Nov 8, 2024
1 parent 858a4cd commit a9b6799
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion protocols/autonat/src/v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//! server then the dial back puts on the client, thus making the protocol unatractive for an
//! attacker.
//!
//! The protocol is seperated into two parts:
//! The protocol is separated into two parts:
//! - The client part, which is implemented in the `client` module. (The client is the party that
//! wants to check if it is reachable from the outside.)
//! - The server part, which is implemented in the `server` module. (The server is the party
Expand Down
2 changes: 1 addition & 1 deletion protocols/identify/src/behaviour.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ impl Behaviour {
}

// outgoing connection dialed with port reuse
// incomming connection
// incoming connection
self.events
.push_back(ToSwarm::NewExternalAddrCandidate(observed.clone()));
}
Expand Down

0 comments on commit a9b6799

Please sign in to comment.