File tree 2 files changed +3
-0
lines changed
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1586,6 +1586,7 @@ impl Display for ! {
1586
1586
1587
1587
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1588
1588
impl Debug for bool {
1589
+ #[ inline]
1589
1590
fn fmt ( & self , f : & mut Formatter ) -> Result {
1590
1591
Display :: fmt ( self , f)
1591
1592
}
@@ -1748,6 +1749,7 @@ impl<T: Debug> Debug for [T] {
1748
1749
1749
1750
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1750
1751
impl Debug for ( ) {
1752
+ #[ inline]
1751
1753
fn fmt ( & self , f : & mut Formatter ) -> Result {
1752
1754
f. pad ( "()" )
1753
1755
}
Original file line number Diff line number Diff line change @@ -157,6 +157,7 @@ macro_rules! debug {
157
157
( $T: ident) => {
158
158
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
159
159
impl fmt:: Debug for $T {
160
+ #[ inline]
160
161
fn fmt( & self , f: & mut fmt:: Formatter ) -> fmt:: Result {
161
162
fmt:: Display :: fmt( self , f)
162
163
}
You can’t perform that action at this time.
0 commit comments