Skip to content

Commit 8f5f268

Browse files
authored
chore: fix some comments
fix some comments Pull-Request: #5550.
1 parent 0ca1388 commit 8f5f268

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,4 @@ Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md).
102102
- [Substrate](https://github.com/paritytech/substrate) - Framework for blockchain innovation,
103103
used by [Polkadot](https://www.parity.io/technologies/polkadot/).
104104
- [Taple](https://github.com/opencanarias/taple-core) - Sustainable DLT for asset and process traceability by [OpenCanarias](https://www.opencanarias.com/en/).
105-
- [Ceylon](https://github.com/ceylonai/ceylon) - A Multi-Agent System (MAS) Development Framwork.
105+
- [Ceylon](https://github.com/ceylonai/ceylon) - A Multi-Agent System (MAS) Development Framework.

protocols/autonat/src/v2.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
//!
55
//! The new version fixes the issues of the first version:
66
//! - The server now always dials back over a newly allocated port. This greatly reduces the risk of
7-
//! false positives that often occured in the first version, when the clinet-server connection
8-
//! occured over a hole-punched port.
7+
//! false positives that often occurred in the first version, when the clinet-server connection
8+
//! occurred over a hole-punched port.
99
//! - The server protects against DoS attacks by requiring the client to send more data to the
1010
//! server then the dial back puts on the client, thus making the protocol unatractive for an
1111
//! attacker.

transports/tcp/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ impl Config {
173173
///
174174
/// The new implementation works on a per-connaction basis, defined by the behaviour. This
175175
/// removes the necessaity to configure the transport for port reuse, instead the behaviour
176-
/// requiring this behaviour can decide wether to use port reuse or not.
176+
/// requiring this behaviour can decide whether to use port reuse or not.
177177
///
178178
/// The API to configure port reuse is part of [`Transport`] and the option can be found in
179179
/// [`libp2p_core::transport::DialOpts`].

0 commit comments

Comments
 (0)