aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlinputelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmlinputelement.rs')
-rwxr-xr-xcomponents/script/dom/htmlinputelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlinputelement.rs b/components/script/dom/htmlinputelement.rs
index 1ee1d2b64d9..7accdf41889 100755
--- a/components/script/dom/htmlinputelement.rs
+++ b/components/script/dom/htmlinputelement.rs
@@ -768,7 +768,7 @@ impl HTMLInputElement {
first_with_id
.as_ref()
.and_then(|el| el.downcast::<HTMLDataListElement>())
- .map(|el| DomRoot::from_ref(&*el))
+ .map(|el| DomRoot::from_ref(el))
}
// https://html.spec.whatwg.org/multipage/#suffering-from-being-missing