Skip to content

Commit 2834e8c

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

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/codec/brotli/decoder.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@ impl BrotliDecoder {
4040
&mut 0,
4141
&mut self.state,
4242
) {
43-
BrotliResult::ResultFailure => {
44-
return Err(io::Error::other("brotli error"))
45-
}
43+
BrotliResult::ResultFailure => return Err(io::Error::other("brotli error")),
4644
status => status,
4745
};
4846

0 commit comments

Comments
 (0)