about summary refs log tree commit diff
path: root/src/test/rustdoc
diff options
context:
space:
mode:
authorDeadbeef <ent3rm4n@gmail.com>2021-08-31 05:24:08 +0000
committerDeadbeef <ent3rm4n@gmail.com>2021-08-31 05:25:39 +0000
commit5f1505e7f13fdea3f2d626059010cf26edfce4f8 (patch)
treec89acfbd8992c8793bb55de6d9627d58540781aa /src/test/rustdoc
parent8096910b54920f4c3334de555ee9dd265ed6f49d (diff)
downloadrust-5f1505e7f13fdea3f2d626059010cf26edfce4f8.tar.gz
rust-5f1505e7f13fdea3f2d626059010cf26edfce4f8.zip
Apply suggestions
Diffstat (limited to 'src/test/rustdoc')
-rw-r--r--src/test/rustdoc/type-layout.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/rustdoc/type-layout.rs b/src/test/rustdoc/type-layout.rs
index bc1b65c46e2..8c4f4f8fc98 100644
--- a/src/test/rustdoc/type-layout.rs
+++ b/src/test/rustdoc/type-layout.rs
@@ -53,7 +53,9 @@ pub struct Unsized([u8]);
 // @!has type_layout/trait.MyTrait.html 'Size: '
 pub trait MyTrait {}
 
-// @has type_layout/enum.Variants.html '<code>A</code>: 0 bytes'
+// @has type_layout/enum.Variants.html 'Size: '
+// @has - '2 bytes'
+// @has - '<code>A</code>: 0 bytes'
 // @has - '<code>B</code>: 1 byte'
 pub enum Variants {
     A,