diff options
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 5508177..87cd9e9 100644 --- a/src/zip/error.rs +++ b/src/zip/error.rs | |||
| @@ -23,7 +23,7 @@ pub enum ZipError { | |||
| 23 | InvalidFileComment, | 23 | InvalidFileComment, |
| 24 | 24 | ||
| 25 | FileNotFound, | 25 | FileNotFound, |
| 26 | IncorrectPassword, | 26 | WrongPassword, |
| 27 | PasswordIsNotSpecified, | 27 | PasswordIsNotSpecified, |
| 28 | CompressedDataIsUnseekable, | 28 | CompressedDataIsUnseekable, |
| 29 | EncryptedDataIsUnseekable, | 29 | EncryptedDataIsUnseekable, |
| @@ -81,7 +81,7 @@ impl Display for ZipError { | |||
| 81 | Self::InvalidFileComment => write!(f, "Invalid file comment"), | 81 | Self::InvalidFileComment => write!(f, "Invalid file comment"), |
| 82 | 82 | ||
| 83 | Self::FileNotFound => write!(f, "File not found"), | 83 | Self::FileNotFound => write!(f, "File not found"), |
| 84 | Self::IncorrectPassword => write!(f, "Incorrect password"), | 84 | Self::WrongPassword => write!(f, "Wrong password"), |
| 85 | Self::PasswordIsNotSpecified => write!(f, "Password is not specified"), | 85 | Self::PasswordIsNotSpecified => write!(f, "Password is not specified"), |
| 86 | Self::CompressedDataIsUnseekable => write!(f, "Compressed data is unseekable"), | 86 | Self::CompressedDataIsUnseekable => write!(f, "Compressed data is unseekable"), |
| 87 | Self::EncryptedDataIsUnseekable => write!(f, "Encrypted data is unseekable"), | 87 | Self::EncryptedDataIsUnseekable => write!(f, "Encrypted data is unseekable"), |
