summaryrefslogtreecommitdiff
path: root/ecs/src/event.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ecs/src/event.rs')
-rw-r--r--ecs/src/event.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ecs/src/event.rs b/ecs/src/event.rs
index 0caa56f..1a4edcc 100644
--- a/ecs/src/event.rs
+++ b/ecs/src/event.rs
@@ -9,6 +9,7 @@ pub mod component;
pub trait Event: Debug + 'static
{
/// Returns the ID of this event.
+ #[must_use]
fn id() -> Id
where
Self: Sized,