Skip to content

Commit d7be2a7

Browse files
authored
Make the Compressor enum non-exhaustive (#272)
1 parent 29b71ff commit d7be2a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/encoder/compression/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ pub trait Compression: CompressionAlgorithm {
3434
}
3535

3636
/// An enum to store each compression algorithm.
37+
#[non_exhaustive]
3738
pub enum Compressor {
3839
Uncompressed(Uncompressed),
3940
#[cfg(feature = "lzw")]

0 commit comments

Comments
 (0)