Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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