diff options
| author | bors <bors@rust-lang.org> | 2021-12-05 18:35:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-12-05 18:35:43 +0000 |
| commit | e2116acae59654bfab2a9729a024f3e2fd6d4b02 (patch) | |
| tree | acf2e464a8cda6c81c8bee7b12489ac8991210ba /src/test/rustdoc/tuple-struct-fields-doc.rs | |
| parent | 772d51f887fa407216860bf8ecf3f1a32fb795b4 (diff) | |
| parent | d7528e2157762fadb9665518fd1e4dee6d6a2809 (diff) | |
| download | rust-e2116acae59654bfab2a9729a024f3e2fd6d4b02.tar.gz rust-e2116acae59654bfab2a9729a024f3e2fd6d4b02.zip | |
Auto merge of #91356 - GuillaumeGomez:improve-rustdoc-layout, r=jsha
Improve rustdoc layout This is an overtake of https://github.com/rust-lang/rust/pull/89385 originally written by `@cynecx.` I kept the original commit and simply added the missing fixes into a new one. You can test it online [here](https://rustdoc.crud.net/imperio/improve-rustdoc-layout/std/index.html). r? `@jsha`
Diffstat (limited to 'src/test/rustdoc/tuple-struct-fields-doc.rs')
| -rw-r--r-- | src/test/rustdoc/tuple-struct-fields-doc.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/rustdoc/tuple-struct-fields-doc.rs b/src/test/rustdoc/tuple-struct-fields-doc.rs index 139c5b4391a..2e339fe8264 100644 --- a/src/test/rustdoc/tuple-struct-fields-doc.rs +++ b/src/test/rustdoc/tuple-struct-fields-doc.rs @@ -4,11 +4,11 @@ // @has - '//h2[@id="fields"]' 'Tuple Fields' // @has - '//h3[@class="sidebar-title"]/a[@href="#fields"]' 'Tuple Fields' // @has - '//*[@id="structfield.0"]' '0: u32' -// @has - '//*[@id="main"]/div[@class="docblock"]' 'hello' +// @has - '//*[@id="main-content"]/div[@class="docblock"]' 'hello' // @!has - '//*[@id="structfield.1"]' // @has - '//*[@id="structfield.2"]' '2: char' // @has - '//*[@id="structfield.3"]' '3: i8' -// @has - '//*[@id="main"]/div[@class="docblock"]' 'not hello' +// @has - '//*[@id="main-content"]/div[@class="docblock"]' 'not hello' pub struct Foo( /// hello pub u32, |
