clippy: Fix a few problems in components/script/dom (#31955)

* fixed various clippy warnings

* fixed various clippy warnings

* fixed various clippy warnings
This commit is contained in:
Rosemary Ajayi 2024-03-31 23:15:13 +00:00 committed by GitHub
parent 9401102691
commit 00c4d798c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 7 additions and 9 deletions

View file

@ -296,11 +296,11 @@ impl Range {
}
fn start(&self) -> &BoundaryPoint {
&self.abstract_range().start()
self.abstract_range().start()
}
fn end(&self) -> &BoundaryPoint {
&self.abstract_range().end()
self.abstract_range().end()
}
pub fn start_container(&self) -> DomRoot<Node> {