events: Remove non-exhaustive attribute from enum with hidden variant
This commit is contained in:
parent
01f20b17c0
commit
504c7ad06e
@ -157,7 +157,6 @@ impl MessageEventContent {
|
|||||||
|
|
||||||
/// The content that is specific to each message type variant.
|
/// The content that is specific to each message type variant.
|
||||||
#[derive(Clone, Debug, Serialize)]
|
#[derive(Clone, Debug, Serialize)]
|
||||||
#[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)]
|
|
||||||
#[serde(untagged)]
|
#[serde(untagged)]
|
||||||
pub enum MessageType {
|
pub enum MessageType {
|
||||||
/// An audio message.
|
/// An audio message.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user