mirror of
https://github.com/bertptrs/tracing-mutex.git
synced 2025-12-27 13:30:32 +01:00
Missing Default implementation for TracingRwLock.
This commit is contained in:
@@ -184,7 +184,7 @@ impl<'a, T: fmt::Display> fmt::Display for TracingMutexGuard<'a, T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Wrapper for [`std::sync::RwLock`].
|
/// Wrapper for [`std::sync::RwLock`].
|
||||||
#[derive(Debug)]
|
#[derive(Debug, Default)]
|
||||||
pub struct TracingRwLock<T> {
|
pub struct TracingRwLock<T> {
|
||||||
inner: RwLock<T>,
|
inner: RwLock<T>,
|
||||||
id: MutexId,
|
id: MutexId,
|
||||||
|
|||||||
Reference in New Issue
Block a user