From b77106b526930990f51a306fd70cd00856f481e8 Mon Sep 17 00:00:00 2001 From: Igor Tolmachev Date: Fri, 12 Jul 2024 21:40:08 +0900 Subject: Add zstd compression and fix bugs --- src/zip/error.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/zip/error.rs') diff --git a/src/zip/error.rs b/src/zip/error.rs index 963daad..c77370b 100644 --- a/src/zip/error.rs +++ b/src/zip/error.rs @@ -19,7 +19,6 @@ pub enum ZipError { InvalidFileName, InvalidFileComment, - NegativeFileOffset, FileNotFound, CompressedDataIsUnseekable, } @@ -58,7 +57,6 @@ impl Display for ZipError { Self::InvalidFileName => write!(f, "Invalid file name"), Self::InvalidFileComment => write!(f, "Invalid file comment"), - Self::NegativeFileOffset => write!(f, "Negative file offset"), Self::FileNotFound => write!(f, "File not found"), Self::CompressedDataIsUnseekable => write!(f, "Compressed data is unseekable"), } -- cgit v1.2.3