about summary refs log tree commit diff
path: root/tests/rustdoc/const-generics/add-impl.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/const-generics/add-impl.rs
parent006ca9b14da1e0145844598b3d6a554c042c702a (diff)
downloadrust-7080f80e8b64eb5f2037de50991edb9e82aee3a5.tar.gz
rust-7080f80e8b64eb5f2037de50991edb9e82aee3a5.zip
rustdoc: remove unnecessary wrapper div.item-decl from HTML
Diffstat (limited to 'tests/rustdoc/const-generics/add-impl.rs')
-rw-r--r--tests/rustdoc/const-generics/add-impl.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/const-generics/add-impl.rs b/tests/rustdoc/const-generics/add-impl.rs
index b5226ad3f78..195e47bc8ba 100644
--- a/tests/rustdoc/const-generics/add-impl.rs
+++ b/tests/rustdoc/const-generics/add-impl.rs
@@ -2,7 +2,7 @@
 
 use std::ops::Add;
 
-// @has foo/struct.Simd.html '//div[@class="item-decl"]/pre[@class="rust"]' 'pub struct Simd<T, const WIDTH: usize>'
+// @has foo/struct.Simd.html '//pre[@class="rust item-decl"]' 'pub struct Simd<T, const WIDTH: usize>'
 pub struct Simd<T, const WIDTH: usize> {
     inner: T,
 }