Skip to content

Tracking issue for std::ptr::hash #56286

Description

@dwijnand

Implemented in #56250 as #[unstable(feature = "ptr_hash")].

Activity

  1. added
    T-libs-api[DEPRECATED; DO NOT USE]
    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC
    on Nov 27, 2018
  2. added
    B-unstableBlocker: Implemented in the nightly compiler and unstable.
    on Dec 4, 2018
  3. dtolnay commented on Dec 13, 2018

    @dtolnay
    Member

    Updated from:

    fn hash<T, S: Hasher>(hashee: *const T, into: &mut S)

    to:

    fn hash<T: ?Sized, S: Hasher>(hashee: *const T, into: &mut S)
               ^^^^^^

    in #56751. Thanks @mbrubeck.

  4. SimonSapin commented on Feb 1, 2019

    @SimonSapin
    Contributor

    Seems straightforward enough to me.

    @rfcbot fcp merge

  5. rfcbot commented on Feb 1, 2019

    @rfcbot

    Team member @SimonSapin has proposed to merge this. The next step is review by the rest of the tagged team members:

    No concerns currently listed.

    Once a majority of reviewers approve (and none object), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up!

    See this document for info about what commands tagged team members can give me.

  6. added
    proposed-final-comment-periodProposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.
    disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.
    on Feb 1, 2019
  7. rfcbot commented on Feb 8, 2019

    @rfcbot

    🔔 This is now entering its final comment period, as per the review above. 🔔

  8. added
    final-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.
    and removed
    proposed-final-comment-periodProposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.
    on Feb 8, 2019
  9. rfcbot commented on Feb 18, 2019

    @rfcbot

    The final comment period, with a disposition to merge, as per the review above, is now complete.

  10. removed
    final-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.
    on Feb 18, 2019
  11. added
    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
    on Mar 26, 2019
  12. added a commit that references this issue on Apr 1, 2019
    a240c59
  13. added a commit that references this issue on Apr 1, 2019
    e9b9f33
  14. matklad commented on Jul 3, 2019

    @matklad
    Contributor

    Question:

    We have Arc::ptr_eq, should we have Arc::ptr_hash as well?

  15. SimonSapin commented on Jul 3, 2019

    @SimonSapin
    Contributor

    We could, but that’s going quickly into diminishing returns IMO. You can always use something like std::ptr::hash::<T, _>(&*arc, s)

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

    B-unstableBlocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-libs-api[DEPRECATED; DO NOT USE]disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions