Skip to content

Commit

Permalink
cleanup a few allow(unused) (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
mo271 authored Dec 24, 2024
1 parent 1315510 commit c138847
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion jxl/src/entropy_coding/ans.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ struct AnsHistogram {
log_bucket_size: usize,
bucket_mask: u32,
// For optimizing fast-lossless case.
#[allow(unused)]
single_symbol: Option<u32>,
}

Expand Down
1 change: 0 additions & 1 deletion jxl/src/entropy_coding/decode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use jxl_macros::UnconditionalCoder;

use crate::bit_reader::BitReader;
#[allow(unused_imports)]
use crate::entropy_coding::ans::*;
use crate::entropy_coding::context_map::*;
use crate::entropy_coding::huffman::*;
Expand Down
3 changes: 1 addition & 2 deletions jxl/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

#[allow(unused)]
#[cfg(test)]
pub mod test;

mod bits;
Expand All @@ -14,7 +14,6 @@ pub mod tracing_wrappers;
mod vec_helpers;

pub use bits::*;
#[allow(unused)]
pub use concat_slice::*;
pub use log2::*;
pub use shift_right_ceil::*;
Expand Down

0 comments on commit c138847

Please sign in to comment.