diff options
| author | Igor Tolmachev <me@igorek.dev> | 2024-07-17 17:38:19 +0900 |
|---|---|---|
| committer | Igor Tolmachev <me@igorek.dev> | 2024-07-17 17:38:19 +0900 |
| commit | 5f4ceda88c7299deb317f8d22a99ab2521c5a380 (patch) | |
| tree | 6b0d7e0ae99376079c599ee897fe73c2e5035420 /src/error.rs | |
| parent | 2f0f96ce4625d2ef1273c7bea98a1e9415419fdf (diff) | |
| download | archivator-5f4ceda88c7299deb317f8d22a99ab2521c5a380.tar.gz archivator-5f4ceda88c7299deb317f8d22a99ab2521c5a380.zip | |
Add more `#[inline]` markers
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> { |
