mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
clippy: Fix explicit_auto_deref
warnings in components/script
(#32113)
* clippy: Fix explicit_auto_deref warnings * refactor: Change basic comments to rustdoc comments
This commit is contained in:
parent
5ac756fd09
commit
21ea6d21f0
3 changed files with 62 additions and 62 deletions
|
@ -294,7 +294,7 @@ impl ElementInternalsMethods for ElementInternals {
|
|||
Ok(self.labels_node_list.or_init(|| {
|
||||
NodeList::new_labels_list(
|
||||
self.target_element.upcast::<Node>().owner_doc().window(),
|
||||
&*self.target_element,
|
||||
&self.target_element,
|
||||
)
|
||||
}))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue