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