mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
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:
parent
9401102691
commit
00c4d798c9
5 changed files with 7 additions and 9 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue