From d3e198888e9d316529f91a7b8b7098b4003973ee Mon Sep 17 00:00:00 2001 From: Paolo Barbolini Date: Sat, 26 Oct 2024 04:04:57 +0200 Subject: [PATCH] style(clippy): fix warning --- src/riff.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/riff.rs b/src/riff.rs index c79d3f2..7aace4e 100644 --- a/src/riff.rs +++ b/src/riff.rs @@ -8,7 +8,7 @@ use crate::util::{read_checked, read_u8_len4_array, split_to_checked}; use crate::{Error, Result}; // the 4 bytes signature -const SIGNATURE: &[u8] = &[b'R', b'I', b'F', b'F']; +const SIGNATURE: &[u8] = b"RIFF"; /// The representation of a RIFF chunk #[derive(Clone, PartialEq)]