Skip to content

Commit 72fd571

Browse files
authored
Rollup merge of #136874 - tgross35:likely-unlikely-tracking, r=jhpratt
Change the issue number for `likely_unlikely` and `cold_path` These currently point to #26179, which is nearly a decade old and has a lot of outdated discussion. Move these features to a new tracking issue specifically for the recently added API. New tracking issue: #136873
2 parents 516dd06 + e32f795 commit 72fd571

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/core/src/hint.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ pub const fn must_use<T>(value: T) -> T {
646646
/// ```
647647
///
648648
///
649-
#[unstable(feature = "likely_unlikely", issue = "26179")]
649+
#[unstable(feature = "likely_unlikely", issue = "136873")]
650650
#[inline(always)]
651651
pub const fn likely(b: bool) -> bool {
652652
crate::intrinsics::likely(b)
@@ -696,7 +696,7 @@ pub const fn likely(b: bool) -> bool {
696696
/// }
697697
/// }
698698
/// ```
699-
#[unstable(feature = "likely_unlikely", issue = "26179")]
699+
#[unstable(feature = "likely_unlikely", issue = "136873")]
700700
#[inline(always)]
701701
pub const fn unlikely(b: bool) -> bool {
702702
crate::intrinsics::unlikely(b)
@@ -729,7 +729,7 @@ pub const fn unlikely(b: bool) -> bool {
729729
/// }
730730
/// }
731731
/// ```
732-
#[unstable(feature = "cold_path", issue = "26179")]
732+
#[unstable(feature = "cold_path", issue = "136873")]
733733
#[inline(always)]
734734
pub const fn cold_path() {
735735
crate::intrinsics::cold_path()

0 commit comments

Comments
 (0)