about summary refs log tree commit diff
path: root/tests/rustdoc/attribute-rendering.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-01-30 11:05:12 -0700
committerMichael Howell <michael@notriddle.com>2023-01-30 11:06:18 -0700
commit7080f80e8b64eb5f2037de50991edb9e82aee3a5 (patch)
tree26c2d27d0b59e40d240a2a631e5e51e98a5ab8d8 /tests/rustdoc/attribute-rendering.rs
parent006ca9b14da1e0145844598b3d6a554c042c702a (diff)
downloadrust-7080f80e8b64eb5f2037de50991edb9e82aee3a5.tar.gz
rust-7080f80e8b64eb5f2037de50991edb9e82aee3a5.zip
rustdoc: remove unnecessary wrapper div.item-decl from HTML
Diffstat (limited to 'tests/rustdoc/attribute-rendering.rs')
-rw-r--r--tests/rustdoc/attribute-rendering.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/attribute-rendering.rs b/tests/rustdoc/attribute-rendering.rs
index 36e10923c85..a652fda1604 100644
--- a/tests/rustdoc/attribute-rendering.rs
+++ b/tests/rustdoc/attribute-rendering.rs
@@ -1,7 +1,7 @@
 #![crate_name = "foo"]
 
 // @has 'foo/fn.f.html'
-// @has - //*[@'class="item-decl"]' '#[export_name = "f"] pub fn f()'
+// @has - //*[@'class="rust item-decl"]' '#[export_name = "f"] pub fn f()'
 #[export_name = "\
 f"]
 pub fn f() {}