Make the Compressor enum non-exhaustive (#272)

This commit is contained in:
Jonathan Behrens authored and GitHub committed 2025-06-15 18:31:03 -07:00
1 parent 29b71ff597
commit d7be2a7b67
1 file changed
+1
+1
View File
@@ -34,6 +34,7 @@ pub trait Compression: CompressionAlgorithm {
} }
/// An enum to store each compression algorithm. /// An enum to store each compression algorithm.
#[non_exhaustive]
pub enum Compressor { pub enum Compressor {
Uncompressed(Uncompressed), Uncompressed(Uncompressed),
#[cfg(feature = "lzw")] #[cfg(feature = "lzw")]