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
|
@ -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) {
|
||||
// ...
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue