@@ -612,12 +612,12 @@ impl<'a, K: 'a + fmt::Debug, V: 'a + fmt::Debug> fmt::Debug for Entry<'a, K, V>
612
612
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
613
613
match * self {
614
614
Entry :: Vacant ( ref v) => {
615
- f. debug_tuple ( " Entry" )
615
+ f. debug_tuple ( stringify ! ( Entry ) )
616
616
. field ( v)
617
617
. finish ( )
618
618
}
619
619
Entry :: Occupied ( ref o) => {
620
- f. debug_tuple ( " Entry" )
620
+ f. debug_tuple ( stringify ! ( Entry ) )
621
621
. field ( o)
622
622
. finish ( )
623
623
}
@@ -722,7 +722,7 @@ impl<'a, K, V> OccupiedEntry<'a, K, V> {
722
722
723
723
impl < ' a , K : ' a + fmt:: Debug , V : ' a + fmt:: Debug > fmt:: Debug for OccupiedEntry < ' a , K , V > {
724
724
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
725
- f. debug_struct ( " OccupiedEntry" )
725
+ f. debug_struct ( stringify ! ( OccupiedEntry ) )
726
726
. field ( "key" , self . key ( ) )
727
727
. field ( "value" , self . get ( ) )
728
728
. finish ( )
@@ -766,7 +766,7 @@ impl<'a, K, V> VacantEntry<'a, K, V> {
766
766
767
767
impl < ' a , K : ' a + fmt:: Debug , V : ' a > fmt:: Debug for VacantEntry < ' a , K , V > {
768
768
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
769
- f. debug_tuple ( " VacantEntry" )
769
+ f. debug_tuple ( stringify ! ( VacantEntry ) )
770
770
. field ( self . key ( ) )
771
771
. finish ( )
772
772
}
0 commit comments