about summary refs log tree commit diff
path: root/src/libcore/alloc
diff options
context:
space:
mode:
authorChristopher Durham <cad97@cad97.com>2020-04-15 15:50:31 -0400
committerGitHub <noreply@github.com>2020-04-15 15:50:31 -0400
commitc266b8b98c763984c6d1183e3518379c0cf2751f (patch)
tree70edd33a0f71be9d8633afccf0788a12d85c1d92 /src/libcore/alloc
parent1b76bb03fe9fd0803efeea9964b61d3c1b7e96ae (diff)
downloadrust-c266b8b98c763984c6d1183e3518379c0cf2751f.tar.gz
rust-c266b8b98c763984c6d1183e3518379c0cf2751f.zip
emphasize *no trailing padding*
Diffstat (limited to 'src/libcore/alloc')
-rw-r--r--src/libcore/alloc/layout.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/alloc/layout.rs b/src/libcore/alloc/layout.rs
index 98f9054588a..ec3a42469bc 100644
--- a/src/libcore/alloc/layout.rs
+++ b/src/libcore/alloc/layout.rs
@@ -258,7 +258,7 @@ impl Layout {
 
     /// Creates a layout describing the record for `self` followed by
     /// `next`, including any necessary padding to ensure that `next`
-    /// will be properly aligned, but no trailing padding. Note that
+    /// will be properly aligned, but *no trailing padding*. Note that
     /// the resulting layout will satisfy the alignment properties of
     /// both `self` and `next`, in order to ensure field alignment.
     ///