From acc9cafc7c87e7aa9e6a89c506f00746d061859f 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 (cherry picked from commit dac63005584e41e20c1c3c22872ba36c300463ee) --- 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 d6487877..497b4f07 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) } }