From b42654bdaf45195a5a0e495b005f275ac9493e5d Mon Sep 17 00:00:00 2001 From: HusseinAdeiza Date: Sat, 23 May 2026 13:53:03 +0100 Subject: [PATCH] fix: improve grammar in RPC references MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix 'via RPC' → 'via an RPC' ⚠️ Note: Comment-only changes. No functional code modified. --- protocols/gossipsub/src/metrics.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocols/gossipsub/src/metrics.rs b/protocols/gossipsub/src/metrics.rs index 562d7b329b3..a0602346322 100644 --- a/protocols/gossipsub/src/metrics.rs +++ b/protocols/gossipsub/src/metrics.rs @@ -844,7 +844,7 @@ struct HistBuilder { buckets: Vec, } -/// Label for the total size of publish messages sent via RPC. +/// Label for the total size of publish messages sent via an RPC. #[derive(PartialEq, Eq, Hash, EncodeLabelSet, Clone, Debug)] struct RpcSentLabel { partial: bool, @@ -852,7 +852,7 @@ struct RpcSentLabel { } /// Label for the mesh peers. -/// Label for the total size of publish messages sent via RPC. +/// Label for the total size of publish messages sent via an RPC. #[derive(PartialEq, Eq, Hash, EncodeLabelSet, Clone, Debug)] struct MeshPeerLabel { supports_partial: bool,