diff options
author | Brooks J Rady <b.j.rady@gmail.com> | 2021-04-27 15:19:55 +0100 |
---|---|---|
committer | Brooks J Rady <b.j.rady@gmail.com> | 2021-04-27 15:19:55 +0100 |
commit | 2fc7810c0b5421499bfc91c5c9bbbfb03d50e151 (patch) | |
tree | 71443b722b373ea708bc555857026d0ba7f49a47 /zellij-tile/src | |
parent | 1b36579d3b58b3bd70607cbbaa0eded52c041d1c (diff) |
fix(plugin): mark `Event` as non-exhaustive
Diffstat (limited to 'zellij-tile/src')
-rw-r--r-- | zellij-tile/src/data.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zellij-tile/src/data.rs b/zellij-tile/src/data.rs index e7ddb319c..f1a77130a 100644 --- a/zellij-tile/src/data.rs +++ b/zellij-tile/src/data.rs @@ -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>), |