fix: cargo clippy error
This commit is contained in:
parent
ffbf5f7b58
commit
d6fcd355b8
2 changed files with 3 additions and 3 deletions
|
@ -1275,9 +1275,9 @@ impl<W: Write + Seek> GenericZipWriter<W> {
|
||||||
}
|
}
|
||||||
#[cfg(feature = "deflate64")]
|
#[cfg(feature = "deflate64")]
|
||||||
CompressionMethod::Deflate64 => {
|
CompressionMethod::Deflate64 => {
|
||||||
return Err(ZipError::UnsupportedArchive(
|
Err(ZipError::UnsupportedArchive(
|
||||||
"Compressing Deflate64 is not supported",
|
"Compressing Deflate64 is not supported",
|
||||||
));
|
))
|
||||||
}
|
}
|
||||||
#[cfg(feature = "bzip2")]
|
#[cfg(feature = "bzip2")]
|
||||||
CompressionMethod::Bzip2 => {
|
CompressionMethod::Bzip2 => {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#![cfg(feature = "deflate64")]
|
#![cfg(feature = "deflate64")]
|
||||||
|
|
||||||
use std::io::{self, Read};
|
use std::io::{self, Read};
|
||||||
use zip::ZipArchive;
|
use zip_next::ZipArchive;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn decompress_deflate64() {
|
fn decompress_deflate64() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue