-
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 RFCF-const_trait_impl`#![feature(const_trait_impl)]``#![feature(const_trait_impl)]`T-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.
Description
Feature gate: #![feature(const_hash)]
This is a tracking issue for constructing "hashers" in const conext.
Public API
// std::collections::hash
impl DefaultHasher {
pub const fn new() -> DefaultHasher;
}
impl SipHasher {
#[deprecated]
pub const fn new() -> SipHasher;
#[deprecated]
pub const fn new_with_keys(key0: u64, key1: u64) -> SipHasher;
}
impl SipHasher13 {
#[deprecated]
pub const fn new() -> SipHasher;
#[deprecated]
pub const fn new_with_keys(key0: u64, key1: u64) -> SipHasher;
}
Steps / History
- Implementation: Make
Hash
,Hasher
andBuildHasher
#[const_trait]
and makeSip
constHasher
#104060 - Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.
Footnotes
joseluis and orzogcraldone01
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 RFCF-const_trait_impl`#![feature(const_trait_impl)]``#![feature(const_trait_impl)]`T-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.