From 97f973d685baf389dcde08044dd3dfb7ba556050 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 6 Apr 2024 14:17:30 +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 01d9d80..9545318 100644 --- a/ecs/src/event.rs +++ b/ecs/src/event.rs @@ -19,6 +19,7 @@ pub struct Id impl Id { /// Returns the id of a [`Event`]; + #[must_use] pub fn of() -> Self { Self { inner: TypeId::of::() } -- cgit v1.2.3-18-g5258