mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Get rid of a bunch of explicit derefs
This commit is contained in:
parent
ca56ebbb09
commit
722aa86c89
49 changed files with 340 additions and 360 deletions
|
@ -113,7 +113,7 @@ impl VirtualMethods for HTMLFieldSetElement {
|
|||
});
|
||||
let fields = children.flat_map(|child| {
|
||||
child.traverse_preorder().filter(|descendant| {
|
||||
match descendant.r().type_id() {
|
||||
match descendant.type_id() {
|
||||
NodeTypeId::Element(
|
||||
ElementTypeId::HTMLElement(
|
||||
HTMLElementTypeId::HTMLButtonElement)) |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue