diff options
Diffstat (limited to 'src/librustc_data_structures/sync.rs')
| -rw-r--r-- | src/librustc_data_structures/sync.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_data_structures/sync.rs b/src/librustc_data_structures/sync.rs index a2893a60cb6..6a4012c8198 100644 --- a/src/librustc_data_structures/sync.rs +++ b/src/librustc_data_structures/sync.rs @@ -133,7 +133,7 @@ cfg_if! { pub type MTRef<'a, T> = &'a mut T; - #[derive(Debug)] + #[derive(Debug, Default)] pub struct MTLock<T>(T); impl<T> MTLock<T> { @@ -228,7 +228,7 @@ cfg_if! { pub type MTRef<'a, T> = &'a T; - #[derive(Debug)] + #[derive(Debug, Default)] pub struct MTLock<T>(Lock<T>); impl<T> MTLock<T> { |
