summaryrefslogtreecommitdiff
path: root/engine-ecs/src/system.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2026-09-21 23:42:32 +0200
committerHampusM <hampus@hampusmat.com>2026-09-21 23:42:32 +0200
commit7003d9de96824f3e1cb67d56c1c4be883f6e2520 (patch)
tree896578ac2a3250e2bbbc405fbe8e1cf136ab0b90 /engine-ecs/src/system.rs
parentdfa772c8c901500f679249c9a6e0bd25b05ca4d7 (diff)
refactor(engine-ecs): fix clippy lints
Diffstat (limited to 'engine-ecs/src/system.rs')
-rw-r--r--engine-ecs/src/system.rs3
1 files changed, 3 insertions, 0 deletions
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>;
}