diff --git a/examples/custom-payload-builder/src/job.rs b/examples/custom-payload-builder/src/job.rs index 49eedc011..3ba139c06 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 043d37c4f..4657fe1f1 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,