about summary refs log tree commit diff
path: root/tests/rustdoc/macro-higher-kinded-function.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/macro-higher-kinded-function.rs
parent006ca9b14da1e0145844598b3d6a554c042c702a (diff)
downloadrust-7080f80e8b64eb5f2037de50991edb9e82aee3a5.tar.gz
rust-7080f80e8b64eb5f2037de50991edb9e82aee3a5.zip
rustdoc: remove unnecessary wrapper div.item-decl from HTML
Diffstat (limited to 'tests/rustdoc/macro-higher-kinded-function.rs')
-rw-r--r--tests/rustdoc/macro-higher-kinded-function.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc/macro-higher-kinded-function.rs b/tests/rustdoc/macro-higher-kinded-function.rs
index b8c52b7b791..a45ef37a7fc 100644
--- a/tests/rustdoc/macro-higher-kinded-function.rs
+++ b/tests/rustdoc/macro-higher-kinded-function.rs
@@ -11,8 +11,8 @@ macro_rules! gen {
 }
 
 // @has 'foo/struct.Providers.html'
-// @has - '//*[@class="item-decl"]//code' "pub a: for<'tcx> fn(_: TyCtxt<'tcx>, _: u8) -> i8,"
-// @has - '//*[@class="item-decl"]//code' "pub b: for<'tcx> fn(_: TyCtxt<'tcx>, _: u16) -> i16,"
+// @has - '//*[@class="rust item-decl"]//code' "pub a: for<'tcx> fn(_: TyCtxt<'tcx>, _: u8) -> i8,"
+// @has - '//*[@class="rust item-decl"]//code' "pub b: for<'tcx> fn(_: TyCtxt<'tcx>, _: u16) -> i16,"
 // @has - '//*[@id="structfield.a"]/code' "a: for<'tcx> fn(_: TyCtxt<'tcx>, _: u8) -> i8"
 // @has - '//*[@id="structfield.b"]/code' "b: for<'tcx> fn(_: TyCtxt<'tcx>, _: u16) -> i16"
 gen! {