Closed intoraw closed 1 week ago
https://github.com/rust-lang/rust/pull/106450 Arc::ptr_eq compares the underlying pointer without metadata, it should be safe to use Arc::ptr_eq now.
Remove DataPtr trait and use Arc::ptr_eq directly.
No response
Is your feature request related to a problem or challenge?
https://github.com/rust-lang/rust/pull/106450 Arc::ptr_eq compares the underlying pointer without metadata, it should be safe to use Arc::ptr_eq now.
Describe the solution you'd like
Remove DataPtr trait and use Arc::ptr_eq directly.
Describe alternatives you've considered
No response
Additional context
No response