Skip to content

Commit

Permalink
clippy: Fix dereferenced warning (#31758)
Browse files Browse the repository at this point in the history
  • Loading branch information
oluwatobiss committed Mar 19, 2024
1 parent d0fcbb0 commit 676f655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/script/dom/node.rs
Expand Up @@ -1094,7 +1094,7 @@ impl Node {

pub fn remove_self(&self) {
if let Some(ref parent) = self.GetParentNode() {
Node::remove(self, &parent, SuppressObserver::Unsuppressed);
Node::remove(self, parent, SuppressObserver::Unsuppressed);
}
}

Expand Down

0 comments on commit 676f655

Please sign in to comment.