Skip to content

Commit

Permalink
chore: no need to be mut
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Sep 17, 2024
1 parent cfb9205 commit 1da1297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/compression/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub fn decompress_bzip2_with(
data: &[u8],
opts: &DecompressionOptions,
) -> Result<Bytes, std::io::Error> {
let mut decoder = bzip2_rs::DecoderReader::new(data);
let decoder = bzip2_rs::DecoderReader::new(data);
decompress_limit(decoder, opts.limit)
}

Expand Down

0 comments on commit 1da1297

Please sign in to comment.