summaryrefslogtreecommitdiff
path: root/src/macros.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/macros.rs')
-rw-r--r--src/macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macros.rs b/src/macros.rs
index 175c051259..3877797ce0 100644
--- a/src/macros.rs
+++ b/src/macros.rs
@@ -39,7 +39,7 @@ macro_rules! s {
__item! {
#[repr(C)]
$(#[$attr])*
- #[cfg_attr(feature = "extra_traits", derive(Eq, PartialEq))]
+ #[cfg_attr(feature = "extra_traits", derive(Debug, Eq, PartialEq))]
pub $t $i { $($field)* }
}
impl ::dox::Copy for $i {}