Skip to content

Commit 490a8cf

Browse files
committed
rustdoc: Note that type layout may differ between compilations
1 parent 57399e2 commit 490a8cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/render/print_item.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1663,7 +1663,7 @@ fn document_type_layout(w: &mut Buffer, cx: &Context<'_>, ty_def_id: DefId) {
16631663
writeln!(
16641664
w,
16651665
"<div class=\"warning\"><p><strong>Note:</strong> Most layout information is \
1666-
completely unstable and may be different between compiler versions and platforms. \
1666+
completely unstable and may even differ between compilations. \
16671667
The only exception is types with certain <code>repr(...)</code> attributes. \
16681668
Please see the Rust Reference’s \
16691669
<a href=\"https://doc.rust-lang.org/reference/type-layout.html\">“Type Layout”</a> \

0 commit comments

Comments
 (0)