From aa0893e63ac90e939c5b119e95f1e305105cd40a Mon Sep 17 00:00:00 2001 From: Igor Tolmachev Date: Fri, 5 Jul 2024 19:52:28 +0900 Subject: Fix lzma decompression --- src/zip/error.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/zip/error.rs') 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 { NegativeFileOffset, FileNotFound, - CompressionDataIsUnseekable, + CompressedDataIsUnseekable, } impl From for ArchiveError { @@ -60,7 +60,7 @@ impl Display for ZipError { Self::NegativeFileOffset => write!(f, "Negative file offset"), Self::FileNotFound => write!(f, "File not found"), - Self::CompressionDataIsUnseekable => write!(f, "Compression data is unseekable"), + Self::CompressedDataIsUnseekable => write!(f, "Compressed data is unseekable"), } } } -- cgit v1.2.3