mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
clippy: Fix many warnings in components/script
(#31717)
* Fix Several clippy warnings * Fix Build errors * Fix Unused import * Fix requested changes * Fix rustfmt * Minor fixes --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
676f655647
commit
01ca220f83
41 changed files with 200 additions and 212 deletions
|
@ -89,7 +89,7 @@ impl TextMethods for Text {
|
|||
node.ranges()
|
||||
.move_to_following_text_sibling_above(node, offset, new_node.upcast());
|
||||
// Steps 7.4-5.
|
||||
parent.ranges().increment_at(&parent, node.index() + 1);
|
||||
parent.ranges().increment_at(parent, node.index() + 1);
|
||||
}
|
||||
// Step 8.
|
||||
cdata.DeleteData(offset, count).unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue