@@ -1558,12 +1558,10 @@ macro_rules! fmt_refs {
15581558 $(
15591559 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
15601560 impl <' a, T : ?Sized + $tr> $tr for & ' a T {
1561- #[ inline]
15621561 fn fmt( & self , f: & mut Formatter ) -> Result { $tr:: fmt( & * * self , f) }
15631562 }
15641563 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
15651564 impl <' a, T : ?Sized + $tr> $tr for & ' a mut T {
1566- #[ inline]
15671565 fn fmt( & self , f: & mut Formatter ) -> Result { $tr:: fmt( & * * self , f) }
15681566 }
15691567 ) *
@@ -1603,7 +1601,6 @@ impl Display for bool {
16031601
16041602#[ stable( feature = "rust1" , since = "1.0.0" ) ]
16051603impl Debug for str {
1606- #[ inline]
16071604 fn fmt ( & self , f : & mut Formatter ) -> Result {
16081605 f. write_char ( '"' ) ?;
16091606 let mut from = 0 ;
@@ -1632,7 +1629,6 @@ impl Display for str {
16321629
16331630#[ stable( feature = "rust1" , since = "1.0.0" ) ]
16341631impl Debug for char {
1635- #[ inline]
16361632 fn fmt ( & self , f : & mut Formatter ) -> Result {
16371633 f. write_char ( '\'' ) ?;
16381634 for c in self . escape_debug ( ) {
@@ -1706,12 +1702,10 @@ impl<'a, T: ?Sized> Pointer for &'a mut T {
17061702
17071703#[ stable( feature = "rust1" , since = "1.0.0" ) ]
17081704impl < T : ?Sized > Debug for * const T {
1709- #[ inline]
17101705 fn fmt ( & self , f : & mut Formatter ) -> Result { Pointer :: fmt ( self , f) }
17111706}
17121707#[ stable( feature = "rust1" , since = "1.0.0" ) ]
17131708impl < T : ?Sized > Debug for * mut T {
1714- #[ inline]
17151709 fn fmt ( & self , f : & mut Formatter ) -> Result { Pointer :: fmt ( self , f) }
17161710}
17171711
@@ -1725,7 +1719,6 @@ macro_rules! tuple {
17251719 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
17261720 impl <$( $name: Debug ) ,* > Debug for ( $( $name, ) * ) where last_type!( $( $name, ) +) : ?Sized {
17271721 #[ allow( non_snake_case, unused_assignments, deprecated) ]
1728- #[ inline]
17291722 fn fmt( & self , f: & mut Formatter ) -> Result {
17301723 let mut builder = f. debug_tuple( "" ) ;
17311724 let ( $( ref $name, ) * ) = * self ;
@@ -1749,7 +1742,6 @@ tuple! { T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, }
17491742
17501743#[ stable( feature = "rust1" , since = "1.0.0" ) ]
17511744impl < T : Debug > Debug for [ T ] {
1752- #[ inline]
17531745 fn fmt ( & self , f : & mut Formatter ) -> Result {
17541746 f. debug_list ( ) . entries ( self . iter ( ) ) . finish ( )
17551747 }
0 commit comments