From d84eab125a2cf89837e727e6f9696c61281b2eec Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Sat, 8 Feb 2025 16:06:05 +0100 Subject: [PATCH] chore: typos (#14330) --- examples/custom-payload-builder/src/job.rs | 2 +- .../custom-rlpx-subprotocol/src/subprotocol/protocol/proto.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/custom-payload-builder/src/job.rs b/examples/custom-payload-builder/src/job.rs index 49eedc011248..3ba139c066f2 100644 --- a/examples/custom-payload-builder/src/job.rs +++ b/examples/custom-payload-builder/src/job.rs @@ -54,7 +54,7 @@ where } } -/// A [PayloadJob] is a a future that's being polled by the `PayloadBuilderService` +/// A [PayloadJob] is a future that's being polled by the `PayloadBuilderService` impl Future for EmptyBlockPayloadJob where Tasks: TaskSpawner + Clone + 'static, diff --git a/examples/custom-rlpx-subprotocol/src/subprotocol/protocol/proto.rs b/examples/custom-rlpx-subprotocol/src/subprotocol/protocol/proto.rs index 043d37c4f6ae..4657fe1f1d6b 100644 --- a/examples/custom-rlpx-subprotocol/src/subprotocol/protocol/proto.rs +++ b/examples/custom-rlpx-subprotocol/src/subprotocol/protocol/proto.rs @@ -45,7 +45,7 @@ impl CustomRlpxProtoMessage { message: CustomRlpxProtoMessageKind::PingMessage(msg.into()), } } - /// Creates a ping message + /// Creates a pong message pub fn pong_message(msg: impl Into) -> Self { Self { message_type: CustomRlpxProtoMessageId::PongMessage,