From f19c0ee64187e53b2bd28fd2ba63fd6f672f5a0d Mon Sep 17 00:00:00 2001 From: Ivan Smirnov Date: Mon, 29 Nov 2021 22:33:27 +0000 Subject: [PATCH] Remove unused imports from decode module --- src/decode.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/decode.rs b/src/decode.rs index d70d930..59e898d 100644 --- a/src/decode.rs +++ b/src/decode.rs @@ -1,9 +1,6 @@ use std::mem; -use crate::consts::{ - QOI_COLOR, QOI_DIFF_16, QOI_DIFF_24, QOI_DIFF_8, QOI_HEADER_SIZE, QOI_INDEX, QOI_MAGIC, - QOI_MASK_2, QOI_MASK_3, QOI_MASK_4, QOI_PADDING, QOI_RUN_16, QOI_RUN_8, -}; +use crate::consts::{QOI_HEADER_SIZE, QOI_INDEX, QOI_MAGIC, QOI_PADDING}; use crate::error::{Error, Result}; use crate::header::Header; use crate::pixel::{Pixel, SupportedChannels};