Skip to content

Commit

Permalink
lints
Browse files Browse the repository at this point in the history
  • Loading branch information
joshstoik1 committed Jul 7, 2024
1 parent abd18aa commit 7264bd9
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions flapfli/src/zopflipng/kat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,7 @@ fn llcl_boundary_pm(leaves: &[Leaf<'_>], lists: &mut [List], nodes: &KatScratch)
llcl_boundary_pm(leaves, rest, nodes)
}

#[allow(clippy::cast_possible_truncation)]
/// # Last Non-Zero, Non-Special Count.
///
/// This method loops through the counts in the jumbled DEFLATE tree order,
Expand Down Expand Up @@ -962,14 +963,6 @@ mod tests {
}
}

#[test]
/// # Tree Max.
///
/// Make sure our math correctly aligns with `TreeRleIdx`.
fn t_tree_max() {
assert_eq!(TreeScratch::MAX - 1, TreeRleIdx::T315 as usize);
}

// The following tests have been adapted from the zopfli-rs crate:
// <https://github.com/zopfli-rs/zopfli/blob/main/src/katajainen.rs>

Expand Down

0 comments on commit 7264bd9

Please sign in to comment.