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 bda23c4 commit 885597eCopy full SHA for 885597e
crates/compression-codecs/src/bzip2/decoder.rs
@@ -106,7 +106,7 @@ impl Decode for BzDecoder {
106
output: &mut PartialBuffer<impl AsRef<[u8]> + AsMut<[u8]>>,
107
) -> io::Result<bool> {
108
match self.decode(&mut PartialBuffer::new(&[][..]), output)? {
109
- Status::Ok | Status::FlushOk | Status::RunOk | Status::FinishOk => Ok(false),
+ Status::Ok | Status::FlushOk | Status::RunOk | Status::FinishOk => Ok(false),
110
Status::StreamEnd => Ok(true),
111
Status::MemNeeded => Err(io::ErrorKind::OutOfMemory.into()),
112
}
0 commit comments