From f9870f313279d7daf633f9e0b9726dfd4fcaa0f6 Mon Sep 17 00:00:00 2001 From: Pascal Seitz Date: Tue, 7 May 2024 16:56:56 +0800 Subject: [PATCH] clippy --- src/block/compress.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/block/compress.rs b/src/block/compress.rs index 97a2d89..d4308b4 100644 --- a/src/block/compress.rs +++ b/src/block/compress.rs @@ -627,7 +627,7 @@ fn init_dict(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`.