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,