diff --git a/crates/exex/exex/src/manager.rs b/crates/exex/exex/src/manager.rs index b2817582760d..56ae3e34499b 100644 --- a/crates/exex/exex/src/manager.rs +++ b/crates/exex/exex/src/manager.rs @@ -68,7 +68,7 @@ struct ExExMetrics { /// A handle to an `ExEx` used by the [`ExExManager`] to communicate with `ExEx`'s. /// -/// A handle should be created for each `ExEx` with a unique ID. The channels returned by +/// A handle should be created for each `ExEx` with an unique ID. The channels returned by /// [`ExExHandle::new`] should be given to the `ExEx`, while the handle itself should be given to /// the manager in [`ExExManager::new`]. #[derive(Debug)] diff --git a/crates/net/discv4/src/error.rs b/crates/net/discv4/src/error.rs index 13ed56531b86..f3eb346008d7 100644 --- a/crates/net/discv4/src/error.rs +++ b/crates/net/discv4/src/error.rs @@ -2,7 +2,7 @@ use tokio::sync::{mpsc::error::SendError, oneshot::error::RecvError}; -/// Error thrown when decoding a UDP packet. +/// Error thrown when decoding an UDP packet. #[derive(Debug, thiserror::Error)] pub enum DecodePacketError { /// Failed to RLP decode the packet. diff --git a/crates/net/discv5/src/metrics.rs b/crates/net/discv5/src/metrics.rs index d58ed66e08fc..3fb6671e027d 100644 --- a/crates/net/discv5/src/metrics.rs +++ b/crates/net/discv5/src/metrics.rs @@ -24,7 +24,7 @@ pub struct DiscoveredPeersMetrics { kbucket_peers_raw_total: Gauge, /// Total discovered peers that are inserted into [`discv5::Discv5`]'s kbuckets. /// - /// This is a subset of the total established sessions, in which all peers advertise a udp + /// This is a subset of the total established sessions, in which all peers advertise an udp /// socket in their node record which is reachable from the local node. Only these peers make /// it into [`discv5::Discv5`]'s kbuckets and will hence be included in queries. /// diff --git a/crates/net/network/src/transactions/mod.rs b/crates/net/network/src/transactions/mod.rs index 9cbc8e5b0b06..3a2889a0e8d5 100644 --- a/crates/net/network/src/transactions/mod.rs +++ b/crates/net/network/src/transactions/mod.rs @@ -274,7 +274,7 @@ pub struct TransactionsManager>, /// Incoming commands from [`TransactionsHandle`]. /// - /// This will only receive commands if a user manually sends a command to the manager through + /// This will only receive commands if an user manually sends a command to the manager through /// the [`TransactionsHandle`] to interact with this type directly. command_rx: UnboundedReceiverStream>, /// A stream that yields new __pending__ transactions. diff --git a/crates/node/core/src/dirs.rs b/crates/node/core/src/dirs.rs index 4f8507c4e687..c925b4c39731 100644 --- a/crates/node/core/src/dirs.rs +++ b/crates/node/core/src/dirs.rs @@ -83,7 +83,7 @@ pub trait XdgPath { fn resolve() -> Option; } -/// A wrapper type that either parses a user-given path or defaults to an +/// A wrapper type that either parses an user-given path or defaults to an /// OS-specific path. /// /// The [`FromStr`] implementation supports shell expansions and common patterns such as `~` for the diff --git a/crates/node/core/src/utils.rs b/crates/node/core/src/utils.rs index 31d847da7fbd..546835a2b4e0 100644 --- a/crates/node/core/src/utils.rs +++ b/crates/node/core/src/utils.rs @@ -17,7 +17,7 @@ use std::{ }; use tracing::{debug, info}; -/// Parses a user-specified path with support for environment variables and common shorthands (e.g. +/// Parses an user-specified path with support for environment variables and common shorthands (e.g. /// ~ for the user's home directory). pub fn parse_path(value: &str) -> Result> { shellexpand::full(value).map(|path| PathBuf::from(path.into_owned()))