diff --git a/src/stdsync.rs b/src/stdsync.rs index 14c72f4..67e746c 100644 --- a/src/stdsync.rs +++ b/src/stdsync.rs @@ -184,7 +184,7 @@ impl<'a, T: fmt::Display> fmt::Display for TracingMutexGuard<'a, T> { } /// Wrapper for [`std::sync::RwLock`]. -#[derive(Debug)] +#[derive(Debug, Default)] pub struct TracingRwLock { inner: RwLock, id: MutexId,