about summary refs log tree commit diff
path: root/tests/rustdoc/duplicate-cfg.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-02-07 19:00:18 -0700
committerMichael Howell <michael@notriddle.com>2023-02-07 19:00:42 -0700
commit894c98652c91a5ff824e81d847760c518857d0a2 (patch)
tree7276f8deb767d89c9f01539512d3d822c1e90a51 /tests/rustdoc/duplicate-cfg.rs
parent3f059f60467419823e2a63d6d20f414829040f2f (diff)
downloadrust-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.rs4
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'