From fd71a24506b448f3b6b65d34d59715936511fa00 Mon Sep 17 00:00:00 2001 From: Ivan Smirnov Date: Mon, 29 Nov 2021 22:32:04 +0000 Subject: [PATCH] Mark tag masks in consts mod as allow(unused) --- src/consts.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/consts.rs b/src/consts.rs index 05b0cd1..6cb53c2 100644 --- a/src/consts.rs +++ b/src/consts.rs @@ -12,8 +12,11 @@ pub const QOI_DIFF_24: u8 = 0xe0; // (1110)0000 pub const QOI_COLOR: u8 = 0xf0; // (1111)0000 // tag masks +#[allow(unused)] pub const QOI_MASK_2: u8 = 0xc0; // (11)000000 +#[allow(unused)] pub const QOI_MASK_3: u8 = 0xe0; // (111)00000 +#[allow(unused)] pub const QOI_MASK_4: u8 = 0xf0; // (1111)0000 pub const QOI_HEADER_SIZE: usize = 14;