Skip to content

Commit cd0c04f

Browse files
authored
Fix fmt in xz2 decoder.rs
Signed-off-by: Jiahao XU <[email protected]>
1 parent 2834e8c commit cd0c04f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/codec/xz2/decoder.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ impl Decode for Xz2Decoder {
4646
match status {
4747
Status::Ok => Ok(false),
4848
Status::StreamEnd => Ok(true),
49-
Status::GetCheck => Err(io::Error::other(
50-
"Unexpected lzma integrity check",
51-
)),
49+
Status::GetCheck => Err(io::Error::other("Unexpected lzma integrity check")),
5250
Status::MemNeeded => Err(io::Error::other("More memory needed")),
5351
}
5452
}

0 commit comments

Comments
 (0)