add feature non-exhaustive-enums
This commit is contained in:
@ -23,6 +23,7 @@ impl From<AVMediaType> for Type {
|
||||
AVMEDIA_TYPE_ATTACHMENT => Type::Attachment,
|
||||
AVMEDIA_TYPE_NB => Type::Unknown,
|
||||
|
||||
#[cfg(feature = "non-exhaustive-enums")]
|
||||
_ => unimplemented!(),
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user