Skip to content

Commit 52d7d4c

Browse files
authored
Fix fmt in decoder.rs
Signed-off-by: Jiahao XU <[email protected]>
1 parent 6569497 commit 52d7d4c

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
@@ -74,9 +74,7 @@ impl Decode for Xz2Decoder {
7474
match status {
7575
Status::Ok => Ok(false),
7676
Status::StreamEnd => Ok(true),
77-
Status::GetCheck => Err(io::Error::other(
78-
"Unexpected lzma integrity check",
79-
)),
77+
Status::GetCheck => Err(io::Error::other("Unexpected lzma integrity check")),
8078
Status::MemNeeded => Err(io::Error::other("More memory needed")),
8179
}
8280
}

0 commit comments

Comments
 (0)