about summary refs log tree commit diff
path: root/tests/rustdoc/inline_cross/macros.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/inline_cross/macros.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/inline_cross/macros.rs')
-rw-r--r--tests/rustdoc/inline_cross/macros.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc/inline_cross/macros.rs b/tests/rustdoc/inline_cross/macros.rs
index b11d5b6c4fa..a41b9c5b197 100644
--- a/tests/rustdoc/inline_cross/macros.rs
+++ b/tests/rustdoc/inline_cross/macros.rs
@@ -6,9 +6,9 @@
 
 extern crate macros;
 
-// @has foo/index.html '//*[@class="item-left"]/span[@class="stab deprecated"]' \
+// @has foo/index.html '//*[@class="item-name"]/span[@class="stab deprecated"]' \
 //         Deprecated
-// @has - '//*[@class="item-left"]/span[@class="stab unstable"]' \
+// @has - '//*[@class="item-name"]/span[@class="stab unstable"]' \
 //         Experimental
 
 // @has foo/macro.my_macro.html