From 763b01fd3f35842d1bc065ad27e5a6a6d4265cef Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 21 Jul 2026 15:16:47 +0200 Subject: refactor(engine-ecs): remove old declare_entity macro rule --- engine-ecs/src/entity.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'engine-ecs/src/entity.rs') diff --git a/engine-ecs/src/entity.rs b/engine-ecs/src/entity.rs index db59301..4e0ca52 100644 --- a/engine-ecs/src/entity.rs +++ b/engine-ecs/src/entity.rs @@ -317,13 +317,6 @@ impl Deref for Declaration #[allow(clippy::module_name_repetitions)] #[macro_export] macro_rules! declare_entity { - ($visibility: vis $ident: ident, $components: expr) => { - $visibility static $ident: $crate::entity::Declaration = - $crate::entity::Declaration::new(|world| { - world.spawn_with_uid(*$ident, $components); - }); - }; - ($($(#[$attr: meta])* $visibility: vis $ident: ident: $components: expr;)+) => { $( $(#[$attr])* -- cgit v1.2.3-18-g5258