From 2d01f1a2344b29331e111ffb434f03f487fd7d7b Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 20 Feb 2025 20:16:02 -0500 Subject: [PATCH 1/3] spelling: identifiers Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index c0cb76a..b6b0ad4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -328,7 +328,7 @@ impl<'a> Iterator for Iter<'a> { } } -/// Iterator over the string idtenfiers of the protocols (not addrs) in a multiaddr +/// Iterator over the string identifiers of the protocols (not addrs) in a multiaddr pub struct ProtoStackIter<'a> { parts: Iter<'a>, } From ffdbce7619572855ce788fa4577101f7a2dde909 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 20 Feb 2025 20:16:18 -0500 Subject: [PATCH 2/3] spelling: multiaddr Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d4d8f50..349e539 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -122,7 +122,7 @@ - Merge [multiaddr] and [parity-multiaddr] (see [PR 40]). - - Functionality to go from a `u64` to a `multiadddr::Protocol` and back is + - Functionality to go from a `u64` to a `multiaddr::Protocol` and back is removed. Please open an issue on [multiaddr] in case this is still needed. - Given that `multiaddr::Protocol` now represents both the protocol From 1d05560bbe846c67247bb1ba8b9cf39172b71d80 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 20 Feb 2025 20:16:34 -0500 Subject: [PATCH 3/3] spelling: multiaddress Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/from_url.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/from_url.rs b/src/from_url.rs index 37eb667..ce5ae6d 100644 --- a/src/from_url.rs +++ b/src/from_url.rs @@ -32,7 +32,7 @@ pub fn from_url(url: &str) -> std::result::Result { /// Attempts to parse an URL into a multiaddress. Ignores possible loss of information. /// /// This function is similar to [`from_url`], except that we don't return an error if some -/// information in the URL cannot be retain in the generated multiaddres. +/// information in the URL cannot be retain in the generated multiaddress. /// /// This function is only present if the `url` feature is enabled, and it is /// enabled by default.