diff options
Diffstat (limited to 'src/zip/error.rs')
| -rw-r--r-- | src/zip/error.rs | 2 |
1 files changed, 0 insertions, 2 deletions
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 { | |||
| 19 | InvalidFileName, | 19 | InvalidFileName, |
| 20 | InvalidFileComment, | 20 | InvalidFileComment, |
| 21 | 21 | ||
| 22 | NegativeFileOffset, | ||
| 23 | FileNotFound, | 22 | FileNotFound, |
| 24 | CompressedDataIsUnseekable, | 23 | CompressedDataIsUnseekable, |
| 25 | } | 24 | } |
| @@ -58,7 +57,6 @@ impl Display for ZipError { | |||
| 58 | Self::InvalidFileName => write!(f, "Invalid file name"), | 57 | Self::InvalidFileName => write!(f, "Invalid file name"), |
| 59 | Self::InvalidFileComment => write!(f, "Invalid file comment"), | 58 | Self::InvalidFileComment => write!(f, "Invalid file comment"), |
| 60 | 59 | ||
| 61 | Self::NegativeFileOffset => write!(f, "Negative file offset"), | ||
| 62 | Self::FileNotFound => write!(f, "File not found"), | 60 | Self::FileNotFound => write!(f, "File not found"), |
| 63 | Self::CompressedDataIsUnseekable => write!(f, "Compressed data is unseekable"), | 61 | Self::CompressedDataIsUnseekable => write!(f, "Compressed data is unseekable"), |
| 64 | } | 62 | } |
