From 7003d9de96824f3e1cb67d56c1c4be883f6e2520 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 21 Sep 2026 23:42:32 +0200 Subject: refactor(engine-ecs): fix clippy lints --- engine-ecs/src/system.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engine-ecs/src/system.rs') diff --git a/engine-ecs/src/system.rs b/engine-ecs/src/system.rs index 5395b14..e0eac57 100644 --- a/engine-ecs/src/system.rs +++ b/engine-ecs/src/system.rs @@ -92,6 +92,7 @@ impl TypeErased /// /// # Safety /// `world_data` must live at least as long as the [`World`] the system belongs to. + #[allow(clippy::missing_errors_doc)] pub unsafe fn run( &self, world: &World, @@ -102,6 +103,7 @@ impl TypeErased (self.run)(world, metadata, evt) } + #[must_use] pub fn name(&self) -> &'static str { self.name @@ -118,6 +120,7 @@ impl Debug for TypeErased pub trait ReturnValue { + #[allow(clippy::missing_errors_doc)] fn into_result(self) -> Result<(), Error>; } -- cgit v1.2.3-18-g5258