Skip to content

Commit 2ae4afd

Browse files
authored
Rollup merge of #92864 - Urgau:fix-missing-source-dot, r=jsha
Fix a missing dot in the main item heading This pull-request fix a missing `·` in the item header ~~and also make use of ` ` to explicit that the spaces are mandatory~~. | Before | After | | --- | --- | | ![image](https://user-images.githubusercontent.com/3616612/149393966-7cca6dc5-9a62-47fa-8c9c-18f936d43aa9.png) | ![image](https://user-images.githubusercontent.com/3616612/149393869-5ffd6e44-d91c-4ece-b69e-d103304f6626.png) | PS: This was introduce yesterday by #92526 (the migration from Tera to Askama) and is not currently observable in the nightly doc.
2 parents dae3ef2 + d5871d0 commit 2ae4afd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustdoc/templates/print_item.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ <h1 class="fqn"> {#- -#}
1616
</h1> {#- -#}
1717
<span class="out-of-band"> {#- -#}
1818
{% if !stability_since_raw.is_empty() %}
19-
{{- stability_since_raw|safe -}} ·
19+
{{- stability_since_raw|safe -}} · {# -#}
2020
{% endif %}
2121
{%- match src_href -%}
2222
{%- when Some with (href) -%}
23-
<a class="srclink" href="{{href|safe}}" title="goto source code">source</a>
24-
{%- else -%} ·
23+
<a class="srclink" href="{{href|safe}}" title="goto source code">source</a> · {# -#}
24+
{%- else -%}
2525
{%- endmatch -%}
2626
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs"> {#- -#}
2727
[<span class="inner">&#x2212;</span>] {#- -#}

0 commit comments

Comments
 (0)