about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2021-09-21 19:13:15 -0700
committerNoah Lev <camelidcamel@gmail.com>2021-09-21 19:17:31 -0700
commit490a8cf573eacdc0adbe5fba0895aad4a100baca (patch)
tree876df15b5e1f1c5e836a1398dfb426f3fdcec65c /src
parent57399e2c3999f4518f7b4b165e18bbcecc6df297 (diff)
downloadrust-490a8cf573eacdc0adbe5fba0895aad4a100baca.tar.gz
rust-490a8cf573eacdc0adbe5fba0895aad4a100baca.zip
rustdoc: Note that type layout may differ between compilations
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/html/render/print_item.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render/print_item.rs b/src/librustdoc/html/render/print_item.rs
index 52505f2d634..b2730bf6d95 100644
--- a/src/librustdoc/html/render/print_item.rs
+++ b/src/librustdoc/html/render/print_item.rs
@@ -1663,7 +1663,7 @@ fn document_type_layout(w: &mut Buffer, cx: &Context<'_>, ty_def_id: DefId) {
             writeln!(
                 w,
                 "<div class=\"warning\"><p><strong>Note:</strong> Most layout information is \
-                 completely unstable and may be different between compiler versions and platforms. \
+                 completely unstable and may even differ between compilations. \
                  The only exception is types with certain <code>repr(...)</code> attributes. \
                  Please see the Rust Reference’s \
                  <a href=\"https://doc.rust-lang.org/reference/type-layout.html\">“Type Layout”</a> \