diff options
author | 2024-09-04 22:13:29 +0000 | |
---|---|---|
committer | 2024-09-04 22:13:29 +0000 | |
commit | d955e73f727c4c1e40dc96d97ae94f0bc3d35f85 (patch) | |
tree | 52cf71da298269c60fab9a9c2f611d32244b1f4d | |
parent | a5744474478c94c1cb0e60343a4b560f266e0430 (diff) | |
parent | d08373d70b98462acf4641862305d67b2491806c (diff) |
Merge "binder: fix PartialEq impl of SpIBinder" into main
-rw-r--r-- | libs/binder/rust/src/proxy.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/rust/src/proxy.rs b/libs/binder/rust/src/proxy.rs index 340014aeaa..04f1517556 100644 --- a/libs/binder/rust/src/proxy.rs +++ b/libs/binder/rust/src/proxy.rs @@ -195,7 +195,7 @@ impl PartialOrd for SpIBinder { impl PartialEq for SpIBinder { fn eq(&self, other: &Self) -> bool { - ptr::eq(self.0.as_ptr(), other.0.as_ptr()) + self.cmp(other) == Ordering::Equal } } |