diff options
| author | Michael Howell <michael@notriddle.com> | 2023-02-07 19:00:18 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-02-07 19:00:42 -0700 |
| commit | 894c98652c91a5ff824e81d847760c518857d0a2 (patch) | |
| tree | 7276f8deb767d89c9f01539512d3d822c1e90a51 /tests/rustdoc/duplicate-cfg.rs | |
| parent | 3f059f60467419823e2a63d6d20f414829040f2f (diff) | |
| download | rust-894c98652c91a5ff824e81d847760c518857d0a2.tar.gz rust-894c98652c91a5ff824e81d847760c518857d0a2.zip | |
rustdoc: simplify DOM for `.item-table`
This switches from using `<div>` to the more semantic `<ul>`, and using class names that rhyme with the classes the search results table uses.
Diffstat (limited to 'tests/rustdoc/duplicate-cfg.rs')
| -rw-r--r-- | tests/rustdoc/duplicate-cfg.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc/duplicate-cfg.rs b/tests/rustdoc/duplicate-cfg.rs index 1ac2e523249..12846c5c17a 100644 --- a/tests/rustdoc/duplicate-cfg.rs +++ b/tests/rustdoc/duplicate-cfg.rs @@ -2,8 +2,8 @@ #![feature(doc_cfg)] // @has 'foo/index.html' -// @matches '-' '//*[@class="item-left"]//*[@class="stab portability"]' '^sync$' -// @has '-' '//*[@class="item-left"]//*[@class="stab portability"]/@title' 'Available on crate feature `sync` only' +// @matches '-' '//*[@class="item-name"]//*[@class="stab portability"]' '^sync$' +// @has '-' '//*[@class="item-name"]//*[@class="stab portability"]/@title' 'Available on crate feature `sync` only' // @has 'foo/struct.Foo.html' // @has '-' '//*[@class="stab portability"]' 'sync' |
