aboutsummaryrefslogtreecommitdiff
path: root/src/zip/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/zip/error.rs')
-rw-r--r--src/zip/error.rs4
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
27impl From<ZipError> for ArchiveError<ZipError> { 27impl 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}