Skip to content

Commit d4c4c56

Browse files
tgross35gitbot
authored and
gitbot
committed
Change the issue number for likely_unlikely and cold_path
These currently point to rust-lang#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: rust-lang#136873
1 parent 32d3f31 commit d4c4c56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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)