From 0c3e0abbf8cff8cf0765c41f8d49000bc467d642 Mon Sep 17 00:00:00 2001 From: Maybe Waffle Date: Mon, 18 Sep 2023 16:21:03 +0000 Subject: [PATCH] Fill-in tracking issue for `feature(cmp_minmax)` --- library/core/src/cmp.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/core/src/cmp.rs b/library/core/src/cmp.rs index 98bff552ac6..c8d1b1a8825 100644 --- a/library/core/src/cmp.rs +++ b/library/core/src/cmp.rs @@ -1286,7 +1286,7 @@ pub fn max_by_key K, K: Ord>(v1: T, v2: T, mut f: F) -> T { /// ``` #[inline] #[must_use] -#[unstable(feature = "cmp_minmax", issue = "none")] +#[unstable(feature = "cmp_minmax", issue = "115939")] pub fn minmax(v1: T, v2: T) -> [T; 2] where T: Ord, @@ -1314,7 +1314,7 @@ pub fn max_by_key K, K: Ord>(v1: T, v2: T, mut f: F) -> T { /// ``` #[inline] #[must_use] -#[unstable(feature = "cmp_minmax", issue = "none")] +#[unstable(feature = "cmp_minmax", issue = "115939")] pub fn minmax_by(v1: T, v2: T, compare: F) -> [T; 2] where F: FnOnce(&T, &T) -> Ordering, @@ -1342,7 +1342,7 @@ pub fn max_by_key K, K: Ord>(v1: T, v2: T, mut f: F) -> T { /// ``` #[inline] #[must_use] -#[unstable(feature = "cmp_minmax", issue = "none")] +#[unstable(feature = "cmp_minmax", issue = "115939")] pub fn minmax_by_key(v1: T, v2: T, mut f: F) -> [T; 2] where F: FnMut(&T) -> K,