From 9b07ebe0efbda2a62ccc25215fe6bf8939bcf272 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 2 Feb 2025 21:35:18 +0100 Subject: chore(ecs): remove 'debug' crate feature --- ecs/src/lock.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'ecs/src/lock.rs') diff --git a/ecs/src/lock.rs b/ecs/src/lock.rs index 135f654..bc5351f 100644 --- a/ecs/src/lock.rs +++ b/ecs/src/lock.rs @@ -31,8 +31,6 @@ where TryLockError::WouldBlock => Err(Error::ReadUnavailable), TryLockError::Poisoned(poison_err) => Ok(poison_err.into_inner()), })?; - - #[cfg(feature = "debug")] tracing::trace!("Acquired lock to value of type {}", guard.type_name()); Ok(ReadGuard { inner: guard }) @@ -48,8 +46,6 @@ where TryLockError::WouldBlock => Err(Error::WriteUnavailable), TryLockError::Poisoned(poison_err) => Ok(poison_err.into_inner()), })?; - - #[cfg(feature = "debug")] tracing::trace!( "Acquired mutable lock to value of type {}", guard.type_name() @@ -118,7 +114,6 @@ where { fn drop(&mut self) { - #[cfg(feature = "debug")] tracing::trace!("Dropped lock to value of type {}", self.type_name()); } } @@ -159,7 +154,6 @@ where { fn drop(&mut self) { - #[cfg(feature = "debug")] tracing::trace!("Dropped mutable lock to value of type {}", self.type_name()); } } -- cgit v1.2.3-18-g5258