-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Open
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 RFCS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.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(likely_unlikely)]
This is a tracking issue for core::hint::{likely, unlikely}.
This tracking issue was split from #136873. Please also see the meta discussion at #26179.
Public API
// core::hint
pub const fn likely(b: bool) -> bool;
pub const fn unlikely(b: bool) -> bool;Steps / History
(Remember to update the S-tracking-* label when checking boxes.)
- Intrinsic implementation: Likely unlikely fix #120370
- Reexport in
std::hint: Reexport likely/unlikely in std::hint #133695 - Behavior improvements: improve cold_path() #133852
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.
Footnotes
joseluis
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 RFCS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.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.