Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup a few allow(unused) #76

Merged
merged 4 commits into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading