mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
clippy: Fix dereferenced warnings (#31770)
This commit is contained in:
parent
0cf2caba06
commit
02a0cdd6fa
43 changed files with 92 additions and 96 deletions
|
@ -433,7 +433,7 @@ impl Tokenizer {
|
|||
},
|
||||
ParseOperation::CreateComment { text, node } => {
|
||||
let comment = Comment::new(DOMString::from(text), document, None);
|
||||
self.insert_node(node, Dom::from_ref(&comment.upcast()));
|
||||
self.insert_node(node, Dom::from_ref(comment.upcast()));
|
||||
},
|
||||
ParseOperation::AppendBeforeSibling { sibling, node } => {
|
||||
self.append_before_sibling(sibling, node);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue