Skip to content

Commit 8dcb6ae

Browse files
authored
Merge pull request #123 from jsoref/spelling
Spelling
2 parents 7a6c81f + 1d05560 commit 8dcb6ae

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122

123123
- Merge [multiaddr] and [parity-multiaddr] (see [PR 40]).
124124

125-
- Functionality to go from a `u64` to a `multiadddr::Protocol` and back is
125+
- Functionality to go from a `u64` to a `multiaddr::Protocol` and back is
126126
removed. Please open an issue on [multiaddr] in case this is still needed.
127127

128128
- Given that `multiaddr::Protocol` now represents both the protocol

src/from_url.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub fn from_url(url: &str) -> std::result::Result<Multiaddr, FromUrlErr> {
3232
/// Attempts to parse an URL into a multiaddress. Ignores possible loss of information.
3333
///
3434
/// This function is similar to [`from_url`], except that we don't return an error if some
35-
/// information in the URL cannot be retain in the generated multiaddres.
35+
/// information in the URL cannot be retain in the generated multiaddress.
3636
///
3737
/// This function is only present if the `url` feature is enabled, and it is
3838
/// enabled by default.

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ impl<'a> Iterator for Iter<'a> {
328328
}
329329
}
330330

331-
/// Iterator over the string idtenfiers of the protocols (not addrs) in a multiaddr
331+
/// Iterator over the string identifiers of the protocols (not addrs) in a multiaddr
332332
pub struct ProtoStackIter<'a> {
333333
parts: Iter<'a>,
334334
}

0 commit comments

Comments
 (0)