about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2025-02-11 16:08:08 +0000
committerTrevor Gross <tmgross@umich.edu>2025-02-11 16:10:35 +0000
commite32f79583c3709644567b55db7b6fcb9c425e787 (patch)
tree01f6e04ff884cd7f323fd924a34c6e62ce254f3c
parent69482e8e5a5fa1441615b015ac2f59178d944696 (diff)
downloadrust-e32f79583c3709644567b55db7b6fcb9c425e787.tar.gz
rust-e32f79583c3709644567b55db7b6fcb9c425e787.zip
Change the issue number for `likely_unlikely` and `cold_path`
These currently point to rust-lang/rust#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: https://github.com/rust-lang/rust/issues/136873
-rw-r--r--library/core/src/hint.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/core/src/hint.rs b/library/core/src/hint.rs
index e5c1a64c12e..520b9941ae4 100644
--- a/library/core/src/hint.rs
+++ b/library/core/src/hint.rs
@@ -646,7 +646,7 @@ pub const fn must_use<T>(value: T) -> T {
 /// ```
 ///
 ///
-#[unstable(feature = "likely_unlikely", issue = "26179")]
+#[unstable(feature = "likely_unlikely", issue = "136873")]
 #[inline(always)]
 pub const fn likely(b: bool) -> bool {
     crate::intrinsics::likely(b)
@@ -696,7 +696,7 @@ pub const fn likely(b: bool) -> bool {
 ///     }
 /// }
 /// ```
-#[unstable(feature = "likely_unlikely", issue = "26179")]
+#[unstable(feature = "likely_unlikely", issue = "136873")]
 #[inline(always)]
 pub const fn unlikely(b: bool) -> bool {
     crate::intrinsics::unlikely(b)
@@ -729,7 +729,7 @@ pub const fn unlikely(b: bool) -> bool {
 ///     }
 /// }
 /// ```
-#[unstable(feature = "cold_path", issue = "26179")]
+#[unstable(feature = "cold_path", issue = "136873")]
 #[inline(always)]
 pub const fn cold_path() {
     crate::intrinsics::cold_path()