@@ -717,7 +717,7 @@ fn item_trait(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, t: &clean:
717
717
write ! (
718
718
w,
719
719
"<h2 id=\" {0}\" class=\" small-section-header\" >\
720
- {1}<a href=\" #{0}\" class=\" anchor\" ></a>\
720
+ {1}<a href=\" #{0}\" class=\" anchor\" >§ </a>\
721
721
</h2>{2}",
722
722
id, title, extra_content
723
723
)
@@ -1147,7 +1147,7 @@ fn item_union(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, s: &clean:
1147
1147
write ! (
1148
1148
w,
1149
1149
"<h2 id=\" fields\" class=\" fields small-section-header\" >\
1150
- Fields<a href=\" #fields\" class=\" anchor\" ></a>\
1150
+ Fields<a href=\" #fields\" class=\" anchor\" >§ </a>\
1151
1151
</h2>"
1152
1152
) ;
1153
1153
for ( field, ty) in fields {
@@ -1156,7 +1156,7 @@ fn item_union(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, s: &clean:
1156
1156
write ! (
1157
1157
w,
1158
1158
"<span id=\" {id}\" class=\" {shortty} small-section-header\" >\
1159
- <a href=\" #{id}\" class=\" anchor field\" ></a>\
1159
+ <a href=\" #{id}\" class=\" anchor field\" >§ </a>\
1160
1160
<code>{name}: {ty}</code>\
1161
1161
</span>",
1162
1162
id = id,
@@ -1262,7 +1262,7 @@ fn item_enum(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, e: &clean::
1262
1262
write ! (
1263
1263
w,
1264
1264
"<h2 id=\" variants\" class=\" variants small-section-header\" >\
1265
- Variants{}<a href=\" #variants\" class=\" anchor\" ></a>\
1265
+ Variants{}<a href=\" #variants\" class=\" anchor\" >§ </a>\
1266
1266
</h2>",
1267
1267
document_non_exhaustive_header( it)
1268
1268
) ;
@@ -1273,7 +1273,7 @@ fn item_enum(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, e: &clean::
1273
1273
write ! (
1274
1274
w,
1275
1275
"<section id=\" {id}\" class=\" variant\" >\
1276
- <a href=\" #{id}\" class=\" anchor\" ></a>",
1276
+ <a href=\" #{id}\" class=\" anchor\" >§ </a>",
1277
1277
id = id,
1278
1278
) ;
1279
1279
render_stability_since_raw_with_extra (
@@ -1325,7 +1325,7 @@ fn item_enum(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, e: &clean::
1325
1325
w,
1326
1326
"<div class=\" sub-variant-field\" >\
1327
1327
<span id=\" {id}\" class=\" small-section-header\" >\
1328
- <a href=\" #{id}\" class=\" anchor field\" ></a>\
1328
+ <a href=\" #{id}\" class=\" anchor field\" >§ </a>\
1329
1329
<code>{f}: {t}</code>\
1330
1330
</span>",
1331
1331
id = id,
@@ -1477,7 +1477,7 @@ fn item_struct(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, s: &clean
1477
1477
write ! (
1478
1478
w,
1479
1479
"<h2 id=\" fields\" class=\" fields small-section-header\" >\
1480
- {}{}<a href=\" #fields\" class=\" anchor\" ></a>\
1480
+ {}{}<a href=\" #fields\" class=\" anchor\" >§ </a>\
1481
1481
</h2>",
1482
1482
if s. ctor_kind. is_none( ) { "Fields" } else { "Tuple Fields" } ,
1483
1483
document_non_exhaustive_header( it)
@@ -1490,7 +1490,7 @@ fn item_struct(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, s: &clean
1490
1490
write ! (
1491
1491
w,
1492
1492
"<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>\
1494
1494
<code>{name}: {ty}</code>\
1495
1495
</span>",
1496
1496
item_type = ItemType :: StructField ,
@@ -1908,7 +1908,7 @@ fn document_type_layout(w: &mut Buffer, cx: &Context<'_>, ty_def_id: DefId) {
1908
1908
writeln ! (
1909
1909
w,
1910
1910
"<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>"
1912
1912
) ;
1913
1913
writeln ! ( w, "<div class=\" docblock\" >" ) ;
1914
1914
0 commit comments