1
Fork 0

rustdoc: remove unnecessary wrapper div.item-decl from HTML

This commit is contained in:
Michael Howell 2023-01-30 11:05:12 -07:00
parent 006ca9b14d
commit 7080f80e8b
74 changed files with 552 additions and 593 deletions

View file

@ -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() {}