diff options
Diffstat (limited to 'components/script/dom/htmlinputelement.rs')
-rwxr-xr-x | components/script/dom/htmlinputelement.rs | 2 |
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 |