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/entity.rs | |
| parent | dfa772c8c901500f679249c9a6e0bd25b05ca4d7 (diff) | |
refactor(engine-ecs): fix clippy lints
Diffstat (limited to 'engine-ecs/src/entity.rs')
| -rw-r--r-- | engine-ecs/src/entity.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine-ecs/src/entity.rs b/engine-ecs/src/entity.rs index ba85956..7515f73 100644 --- a/engine-ecs/src/entity.rs +++ b/engine-ecs/src/entity.rs @@ -298,7 +298,7 @@ impl Declaration pub const fn new(spawn_func: fn(&mut World)) -> Self { Self { - uid: LazyLock::new(|| Uid::new_unique()), + uid: LazyLock::new(Uid::new_unique), spawn_func, } } |
