From dac63005584e41e20c1c3c22872ba36c300463ee Mon Sep 17 00:00:00 2001 From: WillLillis Date: Sun, 23 Mar 2025 05:52:25 -0400 Subject: [PATCH] fix(rust): address new clippy lint for pointer comparisons --- lib/binding_rust/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/binding_rust/lib.rs b/lib/binding_rust/lib.rs index 62839d9b..ceb3a67f 100644 --- a/lib/binding_rust/lib.rs +++ b/lib/binding_rust/lib.rs @@ -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) } }