Skip to content

Commit d955e73

Browse files
Treehugger RobotGerrit Code Review
authored andcommitted
Merge "binder: fix PartialEq impl of SpIBinder" into main
2 parents a574447 + d08373d commit d955e73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libs/binder/rust/src/proxy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ impl PartialOrd for SpIBinder {
195195

196196
impl PartialEq for SpIBinder {
197197
fn eq(&self, other: &Self) -> bool {
198-
ptr::eq(self.0.as_ptr(), other.0.as_ptr())
198+
self.cmp(other) == Ordering::Equal
199199
}
200200
}
201201

0 commit comments

Comments
 (0)