diff --git a/crates/eips/src/eip1898.rs b/crates/eips/src/eip1898.rs index cf1546a4e6f..8d0cbd6864a 100644 --- a/crates/eips/src/eip1898.rs +++ b/crates/eips/src/eip1898.rs @@ -13,8 +13,8 @@ use serde::ser::SerializeStruct; /// A block hash which may have a boolean `requireCanonical` field. /// -/// - If false, an RPC call should raise if a block matching the hash is not found. -/// - If true, an RPC call should additionally raise if the block is not in the canonical chain. +/// - If false, a RPC call should raise if a block matching the hash is not found. +/// - If true, a RPC call should additionally raise if the block is not in the canonical chain. /// /// #[derive(Clone, Copy, Debug, PartialEq, Eq)] @@ -28,7 +28,7 @@ pub struct RpcBlockHash { } impl RpcBlockHash { - /// Returns an [`RpcBlockHash`] from a [`B256`]. + /// Returns a [`RpcBlockHash`] from a [`B256`]. #[doc(alias = "from_block_hash")] pub const fn from_hash(block_hash: B256, require_canonical: Option) -> Self { Self { block_hash, require_canonical }