Closed intoraw closed 1 week ago
Thank you @intoraw and @jayzhan211
Looks like there are some more CI faiures to fix
Looks like there are some more CI faiures to fix
Oh, i'll fix it.
failures are caused by DataPtr related unit tests are not removed. I run cargo test and cargo clippy locally, and it should be ok now.
Thanks @intoraw and @alamb
Which issue does this PR close?
Closes #10377.
Rationale for this change
According to https://github.com/rust-lang/rust/pull/106450, Arc::ptr_eq now compares two pointer without metadata. So, it is safe to remove DataPtr trait and use Arc::ptr_eq directly.
What changes are included in this PR?
This PR removed the DataPtr trait and replace all Arc::data_ptr_eq with Arc::ptr_eq.
Are these changes tested?
Yes
Are there any user-facing changes?
No