X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-core%2Fsrc%2Fcompr%2Fdeflate.rs;h=3462a4034996445255b9ad0f93f79671fae12e9e;hp=d16230675bfb96de3aa40e4027a665e7099843f2;hb=b7c882c1ce6f86c07c2340751200e3a060942826;hpb=01f55c6a507164e6292867d2438d08d1ee0f8e55 diff --git a/nihav-core/src/compr/deflate.rs b/nihav-core/src/compr/deflate.rs index d162306..3462a40 100644 --- a/nihav-core/src/compr/deflate.rs +++ b/nihav-core/src/compr/deflate.rs @@ -359,6 +359,7 @@ impl Inflate { ///! ///! [`DecompressError::ShortData`]: ../enum.DecompressError.html#variant.ShortData ///! [`DecompressError::OutputFull`]: ../enum.DecompressError.html#variant.OutputFull + #[allow(clippy::comparison_chain)] pub fn decompress_data(&mut self, src: &[u8], dst: &mut [u8], continue_block: bool) -> DecompressResult { if src.is_empty() || dst.is_empty() { return Err(DecompressError::InvalidArgument);