Skip to content

Commit

Permalink
style(compression): satisfy clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
loyd committed Sep 17, 2024
1 parent 5ccae0b commit 9ddad36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compression/lz4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ impl<S> Lz4Decoder<S> {

fn calc_checksum(buffer: &[u8]) -> u128 {
let hash = cityhash_102_128(buffer);
hash << 64 | hash >> 64
hash.rotate_right(64)
}

fn decompress(compressed: &[u8], uncompressed: &mut [u8]) -> Result<usize> {
Expand Down

0 comments on commit 9ddad36

Please sign in to comment.