diff --git a/src/security/secrets.rs b/src/security/secrets.rs index bafad38..8dea343 100644 --- a/src/security/secrets.rs +++ b/src/security/secrets.rs @@ -240,6 +240,7 @@ fn hex_encode(data: &[u8]) -> String { } /// Hex-decode a hex string to bytes. +#[allow(clippy::manual_is_multiple_of)] fn hex_decode(hex: &str) -> Result> { if hex.len() % 2 != 0 { anyhow::bail!("Hex string has odd length");