@@ -1558,12 +1558,10 @@ macro_rules! fmt_refs {
1558
1558
$(
1559
1559
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1560
1560
impl <' a, T : ?Sized + $tr> $tr for & ' a T {
1561
- #[ inline]
1562
1561
fn fmt( & self , f: & mut Formatter ) -> Result { $tr:: fmt( & * * self , f) }
1563
1562
}
1564
1563
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1565
1564
impl <' a, T : ?Sized + $tr> $tr for & ' a mut T {
1566
- #[ inline]
1567
1565
fn fmt( & self , f: & mut Formatter ) -> Result { $tr:: fmt( & * * self , f) }
1568
1566
}
1569
1567
) *
@@ -1603,7 +1601,6 @@ impl Display for bool {
1603
1601
1604
1602
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1605
1603
impl Debug for str {
1606
- #[ inline]
1607
1604
fn fmt ( & self , f : & mut Formatter ) -> Result {
1608
1605
f. write_char ( '"' ) ?;
1609
1606
let mut from = 0 ;
@@ -1632,7 +1629,6 @@ impl Display for str {
1632
1629
1633
1630
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1634
1631
impl Debug for char {
1635
- #[ inline]
1636
1632
fn fmt ( & self , f : & mut Formatter ) -> Result {
1637
1633
f. write_char ( '\'' ) ?;
1638
1634
for c in self . escape_debug ( ) {
@@ -1706,12 +1702,10 @@ impl<'a, T: ?Sized> Pointer for &'a mut T {
1706
1702
1707
1703
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1708
1704
impl < T : ?Sized > Debug for * const T {
1709
- #[ inline]
1710
1705
fn fmt ( & self , f : & mut Formatter ) -> Result { Pointer :: fmt ( self , f) }
1711
1706
}
1712
1707
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1713
1708
impl < T : ?Sized > Debug for * mut T {
1714
- #[ inline]
1715
1709
fn fmt ( & self , f : & mut Formatter ) -> Result { Pointer :: fmt ( self , f) }
1716
1710
}
1717
1711
@@ -1725,7 +1719,6 @@ macro_rules! tuple {
1725
1719
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1726
1720
impl <$( $name: Debug ) ,* > Debug for ( $( $name, ) * ) where last_type!( $( $name, ) +) : ?Sized {
1727
1721
#[ allow( non_snake_case, unused_assignments, deprecated) ]
1728
- #[ inline]
1729
1722
fn fmt( & self , f: & mut Formatter ) -> Result {
1730
1723
let mut builder = f. debug_tuple( "" ) ;
1731
1724
let ( $( ref $name, ) * ) = * self ;
@@ -1749,7 +1742,6 @@ tuple! { T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, }
1749
1742
1750
1743
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1751
1744
impl < T : Debug > Debug for [ T ] {
1752
- #[ inline]
1753
1745
fn fmt ( & self , f : & mut Formatter ) -> Result {
1754
1746
f. debug_list ( ) . entries ( self . iter ( ) ) . finish ( )
1755
1747
}
0 commit comments