-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This 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.The final comment period is finished for this PR / Issue.
Milestone
Description
Feature gate: #![feature(build_hasher_simple_hash_one)]
This is a tracking issue for the hash_one
method on the BuildHasher
trait. This is a convenience method to make it easier to get the hash of a value, such as when implementing a hash table or when writing unit tests.
Public API
pub trait BuildHasher { // existing trait
fn hash_one<T: Hash>(&self, x: T) -> u64
where
Self: Sized; // new method, with provided implementation
}
Steps / History
- Implementation: Add
BuildHasher::hash_one
as unstable #86151 - Add missing
Self: Sized
: MakeBuildHasher
object safe #88031 - Final commenting period (FCP)
- Stabilization PR
Unresolved Questions
- None yet.
goffrie, tkaitchuck, FHTMitchell, gliderkite, jdahlstrom and 2 more
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This 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.The final comment period is finished for this PR / Issue.