Skip to content

Commit 381bf51

Browse files
authored
Fix clippy error in bzip2 decoder.rs
Signed-off-by: Jiahao XU <[email protected]>
1 parent 9f16070 commit 381bf51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codec/bzip2/decoder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ impl BzDecoder {
3636
let status = self
3737
.decompress
3838
.decompress(input.unwritten(), output.unwritten_mut())
39-
.map_err(|e| io::Error::other(e))?;
39+
.map_err(io::Error::other)?;
4040

4141
input.advance((self.decompress.total_in() - prior_in) as usize);
4242
output.advance((self.decompress.total_out() - prior_out) as usize);

0 commit comments

Comments
 (0)