diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-03-10 19:00:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-10 19:00:08 +0100 |
| commit | 82215ce64680a6f0bf55a42eba6e7a8ff756c53f (patch) | |
| tree | cc9de5885d56279f3d1e19d81b0185775e3d5337 /src/test/rustdoc | |
| parent | f1a677789ae12780fcc49fb449be8b336528b080 (diff) | |
| parent | fbd9c284d7f018db07da8aa6e03cffdf0ce1786b (diff) | |
| download | rust-82215ce64680a6f0bf55a42eba6e7a8ff756c53f.tar.gz rust-82215ce64680a6f0bf55a42eba6e7a8ff756c53f.zip | |
Rollup merge of #94740 - GuillaumeGomez:unify-impl-blocks, r=notriddle
Unify impl blocks by wrapping them into a div The blanket and "auto traits" sections are wrapped into a `div` with an ID. This PR fixes this incoherence by wrapping each impl section (the "deref impl" and the "inherent impl" sections were missing it). It'll also make some tests simpler to write. r? `````@notriddle`````
Diffstat (limited to 'src/test/rustdoc')
| -rw-r--r-- | src/test/rustdoc/duplicate_impls/issue-33054.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/rustdoc/duplicate_impls/issue-33054.rs b/src/test/rustdoc/duplicate_impls/issue-33054.rs index b018dd6cda5..84c9e4ac0cd 100644 --- a/src/test/rustdoc/duplicate_impls/issue-33054.rs +++ b/src/test/rustdoc/duplicate_impls/issue-33054.rs @@ -1,8 +1,10 @@ +// ignore-tidy-linelength + // @has issue_33054/impls/struct.Foo.html // @has - '//h3[@class="code-header in-band"]' 'impl Foo' // @has - '//h3[@class="code-header in-band"]' 'impl Bar for Foo' // @count - '//*[@id="trait-implementations-list"]//*[@class="impl has-srclink"]' 1 -// @count - '//*[@id="main-content"]/details/summary/*[@class="impl has-srclink"]' 1 +// @count - '//*[@id="main-content"]/div[@id="implementations-list"]/details/summary/*[@class="impl has-srclink"]' 1 // @has issue_33054/impls/bar/trait.Bar.html // @has - '//h3[@class="code-header in-band"]' 'impl Bar for Foo' // @count - '//*[@class="struct"]' 1 |
