fix(rust): address new clippy lint for pointer comparisons
This commit is contained in:
parent
d05e4ae7ff
commit
dac6300558
1 changed files with 1 additions and 1 deletions
|
|
@ -2087,7 +2087,7 @@ impl<'tree> Node<'tree> {
|
|||
|
||||
impl PartialEq for Node<'_> {
|
||||
fn eq(&self, other: &Self) -> bool {
|
||||
self.0.id == other.0.id
|
||||
core::ptr::eq(self.0.id, other.0.id)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue