@@ -717,7 +717,7 @@ fn item_trait(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, t: &clean:
717717 write ! (
718718 w,
719719 "<h2 id=\" {0}\" class=\" small-section-header\" >\
720- {1}<a href=\" #{0}\" class=\" anchor\" ></a>\
720+ {1}<a href=\" #{0}\" class=\" anchor\" >§ </a>\
721721 </h2>{2}",
722722 id, title, extra_content
723723 )
@@ -1147,7 +1147,7 @@ fn item_union(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, s: &clean:
11471147 write ! (
11481148 w,
11491149 "<h2 id=\" fields\" class=\" fields small-section-header\" >\
1150- Fields<a href=\" #fields\" class=\" anchor\" ></a>\
1150+ Fields<a href=\" #fields\" class=\" anchor\" >§ </a>\
11511151 </h2>"
11521152 ) ;
11531153 for ( field, ty) in fields {
@@ -1156,7 +1156,7 @@ fn item_union(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, s: &clean:
11561156 write ! (
11571157 w,
11581158 "<span id=\" {id}\" class=\" {shortty} small-section-header\" >\
1159- <a href=\" #{id}\" class=\" anchor field\" ></a>\
1159+ <a href=\" #{id}\" class=\" anchor field\" >§ </a>\
11601160 <code>{name}: {ty}</code>\
11611161 </span>",
11621162 id = id,
@@ -1262,7 +1262,7 @@ fn item_enum(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, e: &clean::
12621262 write ! (
12631263 w,
12641264 "<h2 id=\" variants\" class=\" variants small-section-header\" >\
1265- Variants{}<a href=\" #variants\" class=\" anchor\" ></a>\
1265+ Variants{}<a href=\" #variants\" class=\" anchor\" >§ </a>\
12661266 </h2>",
12671267 document_non_exhaustive_header( it)
12681268 ) ;
@@ -1273,7 +1273,7 @@ fn item_enum(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, e: &clean::
12731273 write ! (
12741274 w,
12751275 "<section id=\" {id}\" class=\" variant\" >\
1276- <a href=\" #{id}\" class=\" anchor\" ></a>",
1276+ <a href=\" #{id}\" class=\" anchor\" >§ </a>",
12771277 id = id,
12781278 ) ;
12791279 render_stability_since_raw_with_extra (
@@ -1325,7 +1325,7 @@ fn item_enum(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, e: &clean::
13251325 w,
13261326 "<div class=\" sub-variant-field\" >\
13271327 <span id=\" {id}\" class=\" small-section-header\" >\
1328- <a href=\" #{id}\" class=\" anchor field\" ></a>\
1328+ <a href=\" #{id}\" class=\" anchor field\" >§ </a>\
13291329 <code>{f}: {t}</code>\
13301330 </span>",
13311331 id = id,
@@ -1477,7 +1477,7 @@ fn item_struct(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, s: &clean
14771477 write ! (
14781478 w,
14791479 "<h2 id=\" fields\" class=\" fields small-section-header\" >\
1480- {}{}<a href=\" #fields\" class=\" anchor\" ></a>\
1480+ {}{}<a href=\" #fields\" class=\" anchor\" >§ </a>\
14811481 </h2>",
14821482 if s. ctor_kind. is_none( ) { "Fields" } else { "Tuple Fields" } ,
14831483 document_non_exhaustive_header( it)
@@ -1490,7 +1490,7 @@ fn item_struct(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, s: &clean
14901490 write ! (
14911491 w,
14921492 "<span id=\" {id}\" class=\" {item_type} small-section-header\" >\
1493- <a href=\" #{id}\" class=\" anchor field\" ></a>\
1493+ <a href=\" #{id}\" class=\" anchor field\" >§ </a>\
14941494 <code>{name}: {ty}</code>\
14951495 </span>",
14961496 item_type = ItemType :: StructField ,
@@ -1908,7 +1908,7 @@ fn document_type_layout(w: &mut Buffer, cx: &Context<'_>, ty_def_id: DefId) {
19081908 writeln ! (
19091909 w,
19101910 "<h2 id=\" layout\" class=\" small-section-header\" > \
1911- Layout<a href=\" #layout\" class=\" anchor\" ></a></h2>"
1911+ Layout<a href=\" #layout\" class=\" anchor\" >§ </a></h2>"
19121912 ) ;
19131913 writeln ! ( w, "<div class=\" docblock\" >" ) ;
19141914
0 commit comments