From 58f29444ac234c285ce0e3a729ade2b52a303f58 Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 21 Aug 2024 20:18:37 +0200 Subject: refactor(ecs): fix clippy lints --- ecs/src/event.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'ecs/src/event.rs') 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, -- cgit v1.2.3-18-g5258