fix: add clippy allow for manual_is_multiple_of lint (stable Rust compat)

This commit is contained in:
argenis de la rosa 2026-02-14 16:47:27 -05:00
parent fc033783b5
commit 3219387641

View file

@ -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<Vec<u8>> {
if hex.len() % 2 != 0 {
anyhow::bail!("Hex string has odd length");