diff options
| author | Igor Tolmachev <me@igorek.dev> | 2024-07-05 19:52:28 +0900 |
|---|---|---|
| committer | Igor Tolmachev <me@igorek.dev> | 2024-07-05 19:52:28 +0900 |
| commit | aa0893e63ac90e939c5b119e95f1e305105cd40a (patch) | |
| tree | ba84aa87dea417ff4a63e5b15e46eadccb1d631a /src/zip/error.rs | |
| parent | 5d3d32ded672b67471d9d7c85ebbe691129cc51c (diff) | |
| download | archivator-aa0893e63ac90e939c5b119e95f1e305105cd40a.tar.gz archivator-aa0893e63ac90e939c5b119e95f1e305105cd40a.zip | |
Fix lzma decompression
Diffstat (limited to 'src/zip/error.rs')
| -rw-r--r-- | src/zip/error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zip/error.rs b/src/zip/error.rs index 5659f93..963daad 100644 --- a/src/zip/error.rs +++ b/src/zip/error.rs | |||
| @@ -21,7 +21,7 @@ pub enum ZipError { | |||
| 21 | 21 | ||
| 22 | NegativeFileOffset, | 22 | NegativeFileOffset, |
| 23 | FileNotFound, | 23 | FileNotFound, |
| 24 | CompressionDataIsUnseekable, | 24 | CompressedDataIsUnseekable, |
| 25 | } | 25 | } |
| 26 | 26 | ||
| 27 | impl From<ZipError> for ArchiveError<ZipError> { | 27 | impl From<ZipError> for ArchiveError<ZipError> { |
| @@ -60,7 +60,7 @@ impl Display for ZipError { | |||
| 60 | 60 | ||
| 61 | Self::NegativeFileOffset => write!(f, "Negative file offset"), | 61 | Self::NegativeFileOffset => write!(f, "Negative file offset"), |
| 62 | Self::FileNotFound => write!(f, "File not found"), | 62 | Self::FileNotFound => write!(f, "File not found"), |
| 63 | Self::CompressionDataIsUnseekable => write!(f, "Compression data is unseekable"), | 63 | Self::CompressedDataIsUnseekable => write!(f, "Compressed data is unseekable"), |
| 64 | } | 64 | } |
| 65 | } | 65 | } |
| 66 | } | 66 | } |
