about summary refs log tree commit diff
path: root/tests/rustdoc/short-docblock-codeblock.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/short-docblock-codeblock.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/short-docblock-codeblock.rs')
-rw-r--r--tests/rustdoc/short-docblock-codeblock.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/short-docblock-codeblock.rs b/tests/rustdoc/short-docblock-codeblock.rs
index 3c5fa7b36ad..7ecd80b8c72 100644
--- a/tests/rustdoc/short-docblock-codeblock.rs
+++ b/tests/rustdoc/short-docblock-codeblock.rs
@@ -1,6 +1,6 @@
 #![crate_name = "foo"]
 
-// @count foo/index.html '//*[@class="item-right docblock-short"]' 0
+// @count foo/index.html '//*[@class="desc docblock-short"]' 0
 
 /// ```
 /// let x = 12;