Make the Compressor enum non-exhaustive (#272)
This commit is contained in:
1 parent
29b71ff597
commit
d7be2a7b67
1 file changed
+1
@@ -34,6 +34,7 @@ pub trait Compression: CompressionAlgorithm {
|
||||
}
|
||||
|
||||
/// An enum to store each compression algorithm.
|
||||
#[non_exhaustive]
|
||||
pub enum Compressor {
|
||||
Uncompressed(Uncompressed),
|
||||
#[cfg(feature = "lzw")]
|
||||
|
||||
Reference in new issue
Block a user