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

This commit is contained in:
WillLillis 2025-03-23 05:52:25 -04:00 committed by Christian Clason
parent d05e4ae7ff
commit dac6300558

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