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:
Oluwatobi Sofela 2024-04-19 03:47:40 +01:00 committed by GitHub
parent 5ac756fd09
commit 21ea6d21f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 62 additions and 62 deletions

View file

@ -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,
)
}))
}