rustdoc: Emphasize "completely unstable"
This commit is contained in:
parent
490a8cf573
commit
fcb837b163
@ -1663,7 +1663,7 @@ fn write_size_of_layout(w: &mut Buffer, layout: &Layout, tag_size: u64) {
|
|||||||
writeln!(
|
writeln!(
|
||||||
w,
|
w,
|
||||||
"<div class=\"warning\"><p><strong>Note:</strong> Most layout information is \
|
"<div class=\"warning\"><p><strong>Note:</strong> Most layout information is \
|
||||||
completely unstable and may even differ between compilations. \
|
<strong>completely unstable</strong> and may even differ between compilations. \
|
||||||
The only exception is types with certain <code>repr(...)</code> attributes. \
|
The only exception is types with certain <code>repr(...)</code> attributes. \
|
||||||
Please see the Rust Reference’s \
|
Please see the Rust Reference’s \
|
||||||
<a href=\"https://doc.rust-lang.org/reference/type-layout.html\">“Type Layout”</a> \
|
<a href=\"https://doc.rust-lang.org/reference/type-layout.html\">“Type Layout”</a> \
|
||||||
|
Loading…
Reference in New Issue
Block a user