mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
fixes dereferencing on an immutable reference (#31864)
This commit is contained in:
parent
585e0d69cd
commit
f7669b5238
32 changed files with 76 additions and 77 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue