Skip to content

Commit fbd4423

Browse files
committed
Auto merge of rust-lang#116148 - DaniPopes:rustdoc-type-layout-ws, r=jsha
Fix whitespace in rustdoc type_layout.html `Size: <size>` was missing a space after the colon: ![image](https://github.com/rust-lang/rust/assets/57450786/c5a672f3-a28a-4b56-91e7-a4e6ffc8106e)
2 parents e7c502d + 2eb1758 commit fbd4423

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustdoc/html/templates/type_layout.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ <h2 id="layout" class="small-section-header"> {# #}
99
<strong>Note:</strong> Most layout information is <strong>completely {#+ #}
1010
unstable</strong> and may even differ between compilations. {#+ #}
1111
The only exception is types with certain <code>repr(...)</code> {#+ #}
12-
attributes. Please see the Rust References {#+ #}
12+
attributes. Please see the Rust Reference's {#+ #}
1313
<a href="https://doc.rust-lang.org/reference/type-layout.html">“Type Layout”</a> {#+ #}
1414
chapter for details on type layout guarantees. {# #}
1515
</p> {# #}
1616
</div> {# #}
17-
<p><strong>Size:</strong> {{ type_layout_size|safe }}</p> {# #}
17+
<p><strong>Size:</strong> {{+ type_layout_size|safe }}</p> {# #}
1818
{% if !variants.is_empty() %}
1919
<p> {# #}
2020
<strong>Size for each variant:</strong> {# #}

0 commit comments

Comments
 (0)