diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-01-14 07:47:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-14 07:47:39 +0100 |
| commit | 2ae4afddd739144afba7348fb682d7b0cade6f67 (patch) | |
| tree | e9fc46443cfbe0a8533084362bf88bb20057f436 /src | |
| parent | dae3ef2eb2c49542d7eb802db17f3863f87202b1 (diff) | |
| parent | d5871d09f1a4643ca2f1d02ea5f147a412ead1f5 (diff) | |
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 | | --- | --- | |  |  | PS: This was introduce yesterday by https://github.com/rust-lang/rust/pull/92526 (the migration from Tera to Askama) and is not currently observable in the nightly doc.
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/templates/print_item.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/templates/print_item.html b/src/librustdoc/templates/print_item.html index c98c6db424a..459b01a9960 100644 --- a/src/librustdoc/templates/print_item.html +++ b/src/librustdoc/templates/print_item.html @@ -16,12 +16,12 @@ </h1> {#- -#} <span class="out-of-band"> {#- -#} {% if !stability_since_raw.is_empty() %} - {{- stability_since_raw|safe -}} · + {{- stability_since_raw|safe -}} · {# -#} {% endif %} {%- match src_href -%} {%- when Some with (href) -%} - <a class="srclink" href="{{href|safe}}" title="goto source code">source</a> - {%- else -%} · + <a class="srclink" href="{{href|safe}}" title="goto source code">source</a> · {# -#} + {%- else -%} {%- endmatch -%} <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs"> {#- -#} [<span class="inner">−</span>] {#- -#} |
