diff options
| author | HampusM <hampus@hampusmat.com> | 2026-09-21 23:42:32 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-09-21 23:42:32 +0200 |
| commit | 7003d9de96824f3e1cb67d56c1c4be883f6e2520 (patch) | |
| tree | 896578ac2a3250e2bbbc405fbe8e1cf136ab0b90 /engine-ecs/src/tuple.rs | |
| parent | dfa772c8c901500f679249c9a6e0bd25b05ca4d7 (diff) | |
refactor(engine-ecs): fix clippy lints
Diffstat (limited to 'engine-ecs/src/tuple.rs')
| -rw-r--r-- | engine-ecs/src/tuple.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine-ecs/src/tuple.rs b/engine-ecs/src/tuple.rs index a2073b1..990842b 100644 --- a/engine-ecs/src/tuple.rs +++ b/engine-ecs/src/tuple.rs @@ -294,7 +294,7 @@ seq!(I in 0..16 { match index { #( I => { - assert!(TypeId::of::<Element>() == TypeId::of::<Elem~I>()); + assert_eq!(TypeId::of::<Element>(), TypeId::of::<Elem~I>()); // SAFETY: It is checked above that the type is correct Some(unsafe { &mut *(&raw mut self.I).cast::<Element>() }) |
