mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +01:00
clippy: Fix various clippy problems in components/scripts/dom
(#31910)
* boxing is unnecessary * boxing is unnecessary * boxing is unnecessary * boxing is unnecessary * fix * fix * fix * Update globalscope.rs
This commit is contained in:
parent
9243e8cf71
commit
673eaa569a
3 changed files with 3 additions and 3 deletions
|
@ -767,7 +767,7 @@ impl HTMLInputElement {
|
|||
first_with_id
|
||||
.as_ref()
|
||||
.and_then(|el| el.downcast::<HTMLDataListElement>())
|
||||
.map(|el| DomRoot::from_ref(el))
|
||||
.map(DomRoot::from_ref)
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#suffering-from-being-missing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue