diff options
Diffstat (limited to 'src/error.rs')
| -rw-r--r-- | src/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.rs b/src/error.rs index 518b0e9..b7866d7 100644 --- a/src/error.rs +++ b/src/error.rs | |||
| @@ -8,7 +8,7 @@ pub type ArchiveResult<T, E> = Result<T, ArchiveError<E>>; | |||
| 8 | pub enum ArchiveError<E: Error> { | 8 | pub enum ArchiveError<E: Error> { |
| 9 | Io { error: io::Error }, | 9 | Io { error: io::Error }, |
| 10 | Serde { message: String }, | 10 | Serde { message: String }, |
| 11 | Archivator { module: String, error: E }, | 11 | Archivator { module: &'static str, error: E }, |
| 12 | } | 12 | } |
| 13 | 13 | ||
| 14 | impl<E: Error> From<io::Error> for ArchiveError<E> { | 14 | impl<E: Error> From<io::Error> for ArchiveError<E> { |
