rustdoc: remove unnecessary wrapper div.item-decl from HTML
This commit is contained in:
parent
006ca9b14d
commit
7080f80e8b
74 changed files with 552 additions and 593 deletions
|
@ -1,5 +1,5 @@
|
|||
#![crate_name = "foo"]
|
||||
|
||||
// @has foo/fn.f.html
|
||||
// @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'pub fn f(callback: fn(len: usize, foo: u32))'
|
||||
// @has - '//pre[@class="rust item-decl"]' 'pub fn f(callback: fn(len: usize, foo: u32))'
|
||||
pub fn f(callback: fn(len: usize, foo: u32)) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue