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/lock.rs | |
parent | d313b72970b25878f34d39791f08d5e0d645d9d0 (diff) |
chore(ecs): remove 'debug' crate feature
Diffstat (limited to 'ecs/src/lock.rs')
-rw-r--r-- | ecs/src/lock.rs | 6 |
1 files changed, 0 insertions, 6 deletions
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()); } } |