clippy: Fix dereferenced warning (#31758)

This commit is contained in:
Oluwatobi Sofela 2024-03-19 16:04:43 +01:00 committed by GitHub
parent d0fcbb0898
commit 676f655647
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
}
}