File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
gix-features/src/zlib/stream/deflate Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,6 @@ impl Compress {
6666 FlushCompress :: Finish => zlib_rs:: DeflateFlush :: Finish ,
6767 } ;
6868 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
7169 match status {
7270 zlib_rs:: Status :: Ok => Ok ( Status :: Ok ) ,
7371 zlib_rs:: Status :: BufError => Ok ( Status :: BufError ) ,
@@ -78,7 +76,6 @@ impl Compress {
7876
7977/// The error produced by [`Compress::compress()`].
8078#[ derive( Debug , thiserror:: Error ) ]
81- #[ error( "{msg}" ) ]
8279#[ allow( missing_docs) ]
8380pub enum CompressError {
8481 #[ error( "stream error" ) ]
You can’t perform that action at this time.
0 commit comments