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 e08b9b5 commit 2384d0cCopy full SHA for 2384d0c
1 file changed
gix-features/src/zlib/stream/deflate/mod.rs
@@ -66,8 +66,6 @@ impl Compress {
66
FlushCompress::Finish => zlib_rs::DeflateFlush::Finish,
67
};
68
let status = self.0.compress(input, output, flush)?;
69
- // Note: zlib_rs::deflate::deflate is a safe function (unlike inflate which is unsafe)
70
- // because deflate doesn't have the same safety concerns as inflate regarding output buffer handling
71
match status {
72
zlib_rs::Status::Ok => Ok(Status::Ok),
73
zlib_rs::Status::BufError => Ok(Status::BufError),
@@ -78,7 +76,6 @@ impl Compress {
78
76
79
77
/// The error produced by [`Compress::compress()`].
80
#[derive(Debug, thiserror::Error)]
81
-#[error("{msg}")]
82
#[allow(missing_docs)]
83
pub enum CompressError {
84
#[error("stream error")]
0 commit comments