aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/event.rs b/src/event.rs
index ee561f8..b6caa5d 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -32,6 +32,7 @@ pub enum FromRawEventError {
/// This makes dealing with [`CbtEvent`][raw::CbtEvent] a bit saner (and safer).
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Clone, Debug, PartialEq)]
+#[non_exhaustive]
pub enum EventKind {
// State change events
/// The agent has entered combat.
@@ -579,7 +580,7 @@ pub enum WeaponSet {
Land1,
/// An unknown weapon set.
///
- /// This can be caused bundles or anything else that uses the "weapon swap"
+ /// This can be caused by bundles or anything else that uses the "weapon swap"
/// event but is not a normal weapon set.
Unknown(u8),
}