fix(plugin): mark Event as non-exhaustive

This commit is contained in:
Brooks J Rady 2021-04-27 15:19:55 +01:00
parent 1b36579d3b
commit 2fc7810c0b

View file

@ -28,6 +28,7 @@ pub enum Key {
)]
#[strum_discriminants(derive(EnumString, Hash, Serialize, Deserialize))]
#[strum_discriminants(name(EventType))]
#[non_exhaustive]
pub enum Event {
ModeUpdate(ModeInfo),
TabUpdate(Vec<TabInfo>),