Skip to content

Remove DataPtr trait and use Arc::ptr_eq directly #10377

@intoraw

Description

@intoraw

Is your feature request related to a problem or challenge?

rust-lang/rust#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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions