@@ -864,7 +864,7 @@ fn item_union(w: &mut Buffer, cx: &Context<'_>, it: &clean::Item, s: &clean::Uni
864864    if  fields. peek ( ) . is_some ( )  { 
865865        write ! ( 
866866            w, 
867-             "<h2 id=\" fields\"  class=\" fields small-section-header\" > 
867+             "<h2 id=\" fields\"  class=\" fields small-section-header\" >\  
868868\" #fields\"  class=\" anchor\" ></a></h2>"
869869        ) ; 
870870        for  ( field,  ty)  in  fields { 
@@ -953,8 +953,8 @@ fn item_enum(w: &mut Buffer, cx: &Context<'_>, it: &clean::Item, e: &clean::Enum
953953    if  !e. variants . is_empty ( )  { 
954954        write ! ( 
955955            w, 
956-             "<h2 id=\" variants\"  class=\" variants small-section-header\" > 
957-                    Variants{}<a href=\" #variants\"  class=\" anchor\" ></a></h2>\n " , 
956+             "<h2 id=\" variants\"  class=\" variants small-section-header\" >\  
957+ \" #variants\"  class=\" anchor\" ></a></h2>", 
958958            document_non_exhaustive_header( it) 
959959        ) ; 
960960        document_non_exhaustive ( w,  it) ; 
@@ -1139,7 +1139,7 @@ fn item_struct(w: &mut Buffer, cx: &Context<'_>, it: &clean::Item, s: &clean::St
11391139        if  fields. peek ( ) . is_some ( )  { 
11401140            write ! ( 
11411141                w, 
1142-                 "<h2 id=\" fields\"  class=\" fields small-section-header\" > 
1142+                 "<h2 id=\" fields\"  class=\" fields small-section-header\" >\  
11431143\" #fields\"  class=\" anchor\" ></a></h2>", 
11441144                document_non_exhaustive_header( it) 
11451145            ) ; 
0 commit comments