From 6cd94259762b833593594696482561197f70c588 Mon Sep 17 00:00:00 2001 From: Ocenka Date: Tue, 24 Dec 2024 18:26:59 +0000 Subject: [PATCH 1/3] typos rsa.rs --- identity/src/rsa.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/identity/src/rsa.rs b/identity/src/rsa.rs index b14d8c66d86..00c4b65a3bc 100644 --- a/identity/src/rsa.rs +++ b/identity/src/rsa.rs @@ -105,7 +105,7 @@ impl PublicKey { self.0.clone() } - /// Encode the RSA public key in DER as a X.509 SubjectPublicKeyInfo structure, + /// Encode the RSA public key in DER as an X.509 SubjectPublicKeyInfo structure, /// as defined in [RFC5280]. /// /// [RFC5280]: https://tools.ietf.org/html/rfc5280#section-4.1 From 54a576fd286837869e2f05cf9ccebe0f598bc2e9 Mon Sep 17 00:00:00 2001 From: Ocenka Date: Tue, 24 Dec 2024 18:27:28 +0000 Subject: [PATCH 2/3] typo main.rs --- misc/keygen/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/keygen/src/main.rs b/misc/keygen/src/main.rs index 4c4d3bfbf66..023bc34d81b 100644 --- a/misc/keygen/src/main.rs +++ b/misc/keygen/src/main.rs @@ -42,7 +42,7 @@ enum Command { }, } -// Due to the fact that a peer id uses a SHA-256 multihash, it always starts with the +// Due to the fact that a peer id uses an SHA-256 multihash, it always starts with the // bytes 0x1220, meaning that only some characters are valid. const ALLOWED_FIRST_BYTE: &[u8] = b"NPQRSTUVWXYZ"; From 9a21e8c719edd7f2b9de19f8ff78d2e1d2f4d5d9 Mon Sep 17 00:00:00 2001 From: Ocenka Date: Tue, 24 Dec 2024 18:27:56 +0000 Subject: [PATCH 3/3] typo protocol.rs --- misc/multistream-select/src/protocol.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/multistream-select/src/protocol.rs b/misc/multistream-select/src/protocol.rs index 93cd4ac02b5..9b015c3c502 100644 --- a/misc/multistream-select/src/protocol.rs +++ b/misc/multistream-select/src/protocol.rs @@ -120,7 +120,7 @@ impl fmt::Display for Protocol { /// A multistream-select protocol message. /// /// Multistream-select protocol messages are exchanged with the goal -/// of agreeing on a application-layer protocol to use on an I/O stream. +/// of agreeing on an application-layer protocol to use on an I/O stream. #[derive(Debug, Clone, PartialEq, Eq)] pub(crate) enum Message { /// A header message identifies the multistream-select protocol