summaryrefslogtreecommitdiff
path: root/engine-ecs/src/entity.rs
diff options
context:
space:
mode:
Diffstat (limited to 'engine-ecs/src/entity.rs')
-rw-r--r--engine-ecs/src/entity.rs2
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,
}
}