fix(rust): address new clippy lint for pointer comparisons

(cherry picked from commit dac6300558)
This commit is contained in:
WillLillis 2025-03-23 05:52:25 -04:00 committed by Christian Clason
parent d25e5d48ea
commit acc9cafc7c

View file

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