events: Remove non-exhaustive attribute from enum with hidden variant

This commit is contained in:
Jonas Platte 2021-05-16 22:36:57 +02:00
parent 01f20b17c0
commit 504c7ad06e
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -157,7 +157,6 @@ impl MessageEventContent {
/// The content that is specific to each message type variant.
#[derive(Clone, Debug, Serialize)]
#[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)]
#[serde(untagged)]
pub enum MessageType {
/// An audio message.