mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 07:26:23 -04:00
fix(rust): address new clippy lint for pointer comparisons
This commit is contained in:
parent
d05e4ae7ff
commit
dac6300558
|
|
@ -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…
Reference in a new issue