Make MimeType non-exhaustive

This commit is contained in:
Serial 2022-02-13 12:14:05 -05:00
parent b3e71729da
commit 3cb1cf7aed
No known key found for this signature in database
GPG key ID: DA95198DC17C4568

View file

@ -49,8 +49,9 @@ pub const APE_PICTURE_TYPES: [&str; 21] = [
"Cover Art (Publisher Logotype)", "Cover Art (Publisher Logotype)",
]; ];
/// Mime types for pictures.
#[derive(Debug, Clone, Eq, PartialEq, Hash)] #[derive(Debug, Clone, Eq, PartialEq, Hash)]
#[non_exhaustive]
/// Mime types for pictures.
pub enum MimeType { pub enum MimeType {
/// PNG image /// PNG image
Png, Png,