We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f16070 commit 381bf51Copy full SHA for 381bf51
src/codec/bzip2/decoder.rs
@@ -36,7 +36,7 @@ impl BzDecoder {
36
let status = self
37
.decompress
38
.decompress(input.unwritten(), output.unwritten_mut())
39
- .map_err(|e| io::Error::other(e))?;
+ .map_err(io::Error::other)?;
40
41
input.advance((self.decompress.total_in() - prior_in) as usize);
42
output.advance((self.decompress.total_out() - prior_out) as usize);
0 commit comments