rustdoc: remove unnecessary wrapper div.item-decl from HTML
This commit is contained in:
parent
006ca9b14d
commit
7080f80e8b
74 changed files with 552 additions and 593 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue