summaryrefslogtreecommitdiff
path: root/src/macros.rs
diff options
context:
space:
mode:
authorBryant Mairs <bryant@mai.rs>2019-01-21 19:40:02 -0800
committerBryant Mairs <bryant@mai.rs>2019-02-02 13:06:58 -0800
commit79ae1217c2a1a220b1c3f39283ba1ab812350cdc (patch)
tree491df2296a3daff36329043c234d1e129303fd91 /src/macros.rs
parent868a85d05dd46af29346302cbc8135619280cd0f (diff)
downloadrust-libc-79ae1217c2a1a220b1c3f39283ba1ab812350cdc.tar.gz
Implement Debug for all types
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 {}