diff options
| author | Michael Howell <michael@notriddle.com> | 2023-01-30 11:05:12 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-01-30 11:06:18 -0700 |
| commit | 7080f80e8b64eb5f2037de50991edb9e82aee3a5 (patch) | |
| tree | 26c2d27d0b59e40d240a2a631e5e51e98a5ab8d8 /tests/rustdoc/struct-arg-pattern.rs | |
| parent | 006ca9b14da1e0145844598b3d6a554c042c702a (diff) | |
| download | rust-7080f80e8b64eb5f2037de50991edb9e82aee3a5.tar.gz rust-7080f80e8b64eb5f2037de50991edb9e82aee3a5.zip | |
rustdoc: remove unnecessary wrapper div.item-decl from HTML
Diffstat (limited to 'tests/rustdoc/struct-arg-pattern.rs')
| -rw-r--r-- | tests/rustdoc/struct-arg-pattern.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/struct-arg-pattern.rs b/tests/rustdoc/struct-arg-pattern.rs index 3bfb43a0bef..6f06c8c9c49 100644 --- a/tests/rustdoc/struct-arg-pattern.rs +++ b/tests/rustdoc/struct-arg-pattern.rs @@ -4,7 +4,7 @@ struct BodyId { hir_id: usize, } -// @has 'foo/fn.body_owner.html' '//div[@class="item-decl"]/pre[@class="rust"]' 'pub fn body_owner(_: BodyId)' +// @has 'foo/fn.body_owner.html' '//pre[@class="rust item-decl"]' 'pub fn body_owner(_: BodyId)' pub fn body_owner(BodyId { hir_id }: BodyId) { // ... } |
