diff options
| author | Michael Howell <michael@notriddle.com> | 2023-01-30 11:05:12 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-01-30 11:06:18 -0700 |
| commit | 7080f80e8b64eb5f2037de50991edb9e82aee3a5 (patch) | |
| tree | 26c2d27d0b59e40d240a2a631e5e51e98a5ab8d8 /tests/rustdoc/tuple-struct-fields-doc.rs | |
| parent | 006ca9b14da1e0145844598b3d6a554c042c702a (diff) | |
| download | rust-7080f80e8b64eb5f2037de50991edb9e82aee3a5.tar.gz rust-7080f80e8b64eb5f2037de50991edb9e82aee3a5.zip | |
rustdoc: remove unnecessary wrapper div.item-decl from HTML
Diffstat (limited to 'tests/rustdoc/tuple-struct-fields-doc.rs')
| -rw-r--r-- | tests/rustdoc/tuple-struct-fields-doc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/tuple-struct-fields-doc.rs b/tests/rustdoc/tuple-struct-fields-doc.rs index d72c10f2b25..2836ddedc2b 100644 --- a/tests/rustdoc/tuple-struct-fields-doc.rs +++ b/tests/rustdoc/tuple-struct-fields-doc.rs @@ -19,7 +19,7 @@ pub struct Foo( ); // @has foo/enum.Bar.html -// @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'BarVariant(String),' +// @has - '//pre[@class="rust item-decl"]' 'BarVariant(String),' // @matches - '//*[@id="variant.BarVariant.fields"]/h4' '^Tuple Fields$' // @has - '//*[@id="variant.BarVariant.field.0"]' '0: String' // @has - '//*[@id="variant.BarVariant.fields"]//*[@class="docblock"]' 'Hello docs' |
