Fixing clippy issues (#418)

This commit is contained in:
Kevin Lewi
2026-01-22 15:37:21 -08:00
committed by GitHub
parent a85a7bea8f
commit 2dee6fbc01
3 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -87,7 +87,8 @@ pub enum ProtocolError<T = Infallible> {
InvalidLoginError,
/// Error with serializing / deserializing protocol messages
SerializationError,
/// Invalid length for `name`: expected `len`, but is actually `actual_len`.
/** Invalid length for `{name}`: expected {len}, actual {actual_len} */
#[allow(clippy::doc_markdown, unused_assignments)]
SizeError {
/// name
name: &'static str,
+1
View File
@@ -243,6 +243,7 @@ where
serde(bound = "")
)]
#[derive(Clone, Debug, Eq, Hash, PartialEq, Zeroize)]
#[allow(unused_assignments)]
pub struct SerializedContext<'a> {
length: GenericArray<u8, U2>,
#[zeroize(skip)]