From 7080f80e8b64eb5f2037de50991edb9e82aee3a5 Mon Sep 17 00:00:00 2001 From: Michael Howell Date: Mon, 30 Jan 2023 11:05:12 -0700 Subject: rustdoc: remove unnecessary wrapper div.item-decl from HTML --- tests/rustdoc/inline-default-methods.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/rustdoc/inline-default-methods.rs') diff --git a/tests/rustdoc/inline-default-methods.rs b/tests/rustdoc/inline-default-methods.rs index a4ca928f333..e6468316f58 100644 --- a/tests/rustdoc/inline-default-methods.rs +++ b/tests/rustdoc/inline-default-methods.rs @@ -4,6 +4,6 @@ extern crate inline_default_methods; // @has inline_default_methods/trait.Foo.html -// @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'fn bar(&self);' -// @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'fn foo(&mut self) { ... }' +// @has - '//pre[@class="rust item-decl"]' 'fn bar(&self);' +// @has - '//pre[@class="rust item-decl"]' 'fn foo(&mut self) { ... }' pub use inline_default_methods::Foo; -- cgit 1.4.1-3-g733a5