diff options
author | Oluwatobi Sofela <60105594+oluwatobiss@users.noreply.github.com> | 2024-03-20 09:07:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-20 08:07:22 +0000 |
commit | 02a0cdd6faf80b77c6b066120bc2927c963affe3 (patch) | |
tree | abb409671c554c5c4d9678788388d51f6341688d /components/script/dom/servoparser/async_html.rs | |
parent | 0cf2caba06a78fe3695c46b468422e975f0bd187 (diff) | |
download | servo-02a0cdd6faf80b77c6b066120bc2927c963affe3.tar.gz servo-02a0cdd6faf80b77c6b066120bc2927c963affe3.zip |
clippy: Fix dereferenced warnings (#31770)
Diffstat (limited to 'components/script/dom/servoparser/async_html.rs')
-rw-r--r-- | components/script/dom/servoparser/async_html.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/servoparser/async_html.rs b/components/script/dom/servoparser/async_html.rs index 3c717f57b71..4b04cd822a6 100644 --- a/components/script/dom/servoparser/async_html.rs +++ b/components/script/dom/servoparser/async_html.rs @@ -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); |