We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c3adaf commit 98f0a82Copy full SHA for 98f0a82
src/libcore/alloc/layout.rs
@@ -258,9 +258,10 @@ impl Layout {
258
259
/// Creates a layout describing the record for `self` followed by
260
/// `next`, including any necessary padding to ensure that `next`
261
- /// will be properly aligned, but *no trailing padding*. In order
262
- /// to match C representation layout `repr(C)`, you should call
263
- /// `pad_to_align` after extending the layout with all fields.
+ /// will be properly aligned, but *no trailing padding*.
+ ///
+ /// In order to match C representation layout `repr(C)`, you should
264
+ /// call `pad_to_align` after extending the layout with all fields.
265
/// (There is no way to match the default Rust representation
266
/// layout `repr(Rust)`, as it is unspecified.)
267
///
0 commit comments