diff options
author | HampusM <hampus@hampusmat.com> | 2025-02-02 21:35:18 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2025-02-02 21:35:18 +0100 |
commit | 9b07ebe0efbda2a62ccc25215fe6bf8939bcf272 (patch) | |
tree | 199ffa49009b0420b677c00f3f17dc8df98a8571 /ecs/src/component/storage.rs | |
parent | d313b72970b25878f34d39791f08d5e0d645d9d0 (diff) |
chore(ecs): remove 'debug' crate feature
Diffstat (limited to 'ecs/src/component/storage.rs')
-rw-r--r-- | ecs/src/component/storage.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ecs/src/component/storage.rs b/ecs/src/component/storage.rs index 5ce587f..590d84d 100644 --- a/ecs/src/component/storage.rs +++ b/ecs/src/component/storage.rs @@ -75,7 +75,7 @@ impl Storage self.entity_archetype_lookup.remove(&entity_uid); } - #[cfg_attr(feature = "debug", tracing::instrument(skip_all))] + #[tracing::instrument(skip_all)] pub fn push_entity( &mut self, entity_uid: Uid, @@ -87,8 +87,6 @@ impl Storage } components.sort_by_key(|component| component.self_id()); - - #[cfg(feature = "debug")] tracing::debug!( "Pushing entity with components: ({})", &components.iter().fold( |