File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,8 @@ integer! { i16, u16 }
167167integer ! { i32 , u32 }
168168integer ! { i64 , u64 }
169169integer ! { i128 , u128 }
170- macro_rules! debug {
170+
171+ macro_rules! impl_Debug {
171172 ( $( $T: ident) * ) => { $(
172173 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
173174 impl fmt:: Debug for $T {
@@ -184,10 +185,6 @@ macro_rules! debug {
184185 }
185186 ) * } ;
186187}
187- debug ! {
188- i8 i16 i32 i64 i128 isize
189- u8 u16 u32 u64 u128 usize
190- }
191188
192189// 2 digit decimal look up table
193190static DEC_DIGITS_LUT : & [ u8 ; 200 ] = b"0001020304050607080910111213141516171819\
@@ -510,6 +507,11 @@ macro_rules! impl_Exp {
510507 } ;
511508}
512509
510+ impl_Debug ! {
511+ i8 i16 i32 i64 i128 isize
512+ u8 u16 u32 u64 u128 usize
513+ }
514+
513515// Include wasm32 in here since it doesn't reflect the native pointer size, and
514516// often cares strongly about getting a smaller code size.
515517#[ cfg( any( target_pointer_width = "64" , target_arch = "wasm32" ) ) ]
You can’t perform that action at this time.
0 commit comments