diff options
| author | est31 <MTest31@outlook.com> | 2022-07-25 00:35:58 +0200 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2022-07-25 19:11:10 +0200 |
| commit | 5fcd2f72feefa22e2c304301a67f448fde21bb7e (patch) | |
| tree | 5713219a2c294377f946a72fe87706441ffe75ed /src/test | |
| parent | 2a990f7c0fe4d00042269beb7ee67d0082de4e07 (diff) | |
| download | rust-5fcd2f72feefa22e2c304301a67f448fde21bb7e.tar.gz rust-5fcd2f72feefa22e2c304301a67f448fde21bb7e.zip | |
Add a clickable link to the layout section
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/rustdoc/type-layout.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/rustdoc/type-layout.rs b/src/test/rustdoc/type-layout.rs index 4eea9809ac5..3b13e12ee61 100644 --- a/src/test/rustdoc/type-layout.rs +++ b/src/test/rustdoc/type-layout.rs @@ -2,6 +2,7 @@ // @has type_layout/struct.Foo.html 'Size: ' // @has - ' bytes' +// @matches - '<h2 id="layout".+Layout.+a href="#layout" class="anchor">' pub struct Foo { pub a: usize, b: Vec<String>, |
