diff options
Diffstat (limited to 'native/src/debug')
-rw-r--r-- | native/src/debug/basic.rs | 6 | ||||
-rw-r--r-- | native/src/debug/null.rs | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/native/src/debug/basic.rs b/native/src/debug/basic.rs index d706bb00..603f2fd5 100644 --- a/native/src/debug/basic.rs +++ b/native/src/debug/basic.rs @@ -186,6 +186,12 @@ impl Debug { } } +impl Default for Debug { + fn default() -> Self { + Self::new() + } +} + #[derive(Debug)] struct TimeBuffer { head: usize, diff --git a/native/src/debug/null.rs b/native/src/debug/null.rs index 60e6122d..2db0eebb 100644 --- a/native/src/debug/null.rs +++ b/native/src/debug/null.rs @@ -1,5 +1,5 @@ #![allow(missing_docs)] -#[derive(Debug)] +#[derive(Debug, Default)] pub struct Debug; impl Debug { |