Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
PSeitz committed May 7, 2024
1 parent 9812078 commit f9870f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/block/compress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ fn init_dict<T: HashTable>(dict: &mut T, dict_data: &mut &[u8]) {
/// Can be used to preallocate capacity on the output vector
#[inline]
pub const fn get_maximum_output_size(input_len: usize) -> usize {
16 + 4 + (input_len * 110 / 100) as usize
16 + 4 + (input_len * 110 / 100)
}

/// Compress all bytes of `input` into `output`.
Expand Down

0 comments on commit f9870f3

Please sign in to comment.