aboutsummaryrefslogtreecommitdiff
path: root/src/zip/file/info.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/zip/file/info.rs')
-rw-r--r--src/zip/file/info.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zip/file/info.rs b/src/zip/file/info.rs
index 38ea984..93b9f43 100644
--- a/src/zip/file/info.rs
+++ b/src/zip/file/info.rs
@@ -10,7 +10,7 @@ pub enum CompressionMethod {
10 Lzma, 10 Lzma,
11 Zstd, 11 Zstd,
12 Xz, 12 Xz,
13 Unsupported(u16), 13 Unsupported,
14} 14}
15 15
16impl CompressionMethod { 16impl CompressionMethod {
@@ -23,7 +23,7 @@ impl CompressionMethod {
23 14 => Self::Lzma, 23 14 => Self::Lzma,
24 93 => Self::Zstd, 24 93 => Self::Zstd,
25 95 => Self::Xz, 25 95 => Self::Xz,
26 _ => Self::Unsupported(id), 26 _ => Self::Unsupported,
27 } 27 }
28 } 28 }
29} 29}