diff options
author | HampusM <hampus@hampusmat.com> | 2024-08-21 20:18:37 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-08-21 20:18:37 +0200 |
commit | 58f29444ac234c285ce0e3a729ade2b52a303f58 (patch) | |
tree | 03bb210d62bf98acc1ee30ce9df1344d8239f7c6 /ecs/src/event.rs | |
parent | c3c96f2d7b63d1d7e55f5a9a85da85444089c2a2 (diff) |
refactor(ecs): fix clippy lints
Diffstat (limited to 'ecs/src/event.rs')
-rw-r--r-- | ecs/src/event.rs | 1 |
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, |