Skip to content

Commit

Permalink
Unused when color_quant is off
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Jan 23, 2024
1 parent 9f740e0 commit 965be5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::borrow::Cow;
use std::collections::HashMap;
use std::collections::HashSet;
#[cfg(feature = "color_quant")]
use std::collections::{HashMap, HashSet};

/// Disposal method
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ pub mod streaming_decoder {
pub use crate::reader::{Decoded, FrameDataType, FrameDecoder, OutputBuffer, StreamingDecoder};
}

#[cfg(feature = "color_quant")]
macro_rules! insert_as_doc {
{ $content:expr } => {
#[allow(unused_doc_comments)]
Expand Down

0 comments on commit 965be5b

Please sign in to comment.