From 9e7f2d6a61db4131cce603068b2c4b6e00bfd85d Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Sat, 8 May 2021 17:10:56 +0200 Subject: [PATCH] Missing Default implementation for TracingRwLock. --- src/stdsync.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,