Skip to content

Commit a9b6799

Browse files
authored
chore(protocols): fix some typos in comment (#5665)
## 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]>
1 parent 858a4cd commit a9b6799

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

protocols/autonat/src/v2.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//! server then the dial back puts on the client, thus making the protocol unatractive for an
1111
//! attacker.
1212
//!
13-
//! The protocol is seperated into two parts:
13+
//! The protocol is separated into two parts:
1414
//! - The client part, which is implemented in the `client` module. (The client is the party that
1515
//! wants to check if it is reachable from the outside.)
1616
//! - The server part, which is implemented in the `server` module. (The server is the party

protocols/identify/src/behaviour.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ impl Behaviour {
360360
}
361361

362362
// outgoing connection dialed with port reuse
363-
// incomming connection
363+
// incoming connection
364364
self.events
365365
.push_back(ToSwarm::NewExternalAddrCandidate(observed.clone()));
366366
}

0 commit comments

Comments
 (0)