From 08427736ab755654727f433b1fe4fe2bd59f8110 Mon Sep 17 00:00:00 2001 From: plebhash Date: Sat, 4 May 2024 14:49:09 -0500 Subject: [PATCH] lint --- protocols/v2/framing-sv2/src/header.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocols/v2/framing-sv2/src/header.rs b/protocols/v2/framing-sv2/src/header.rs index 74254c31c4..05272b52a7 100644 --- a/protocols/v2/framing-sv2/src/header.rs +++ b/protocols/v2/framing-sv2/src/header.rs @@ -54,7 +54,7 @@ impl Header { }) } - /// Get the message length + /// Get the payload length #[allow(clippy::len_without_is_empty)] #[inline] pub fn len(&self) -> usize { @@ -62,7 +62,7 @@ impl Header { inner as usize } - /// Construct a `Header` from message length, type and extension type. + /// Construct a `Header` from payload length, type and extension type. #[inline] pub fn from_len(len: u32, message_type: u8, extension_type: u16) -> Option
{ Some(Self {