diff options
| author | Maybe Waffle <waffle.lapkin@gmail.com> | 2023-09-18 16:21:03 +0000 |
|---|---|---|
| committer | Maybe Waffle <waffle.lapkin@gmail.com> | 2023-09-18 16:21:03 +0000 |
| commit | 0c3e0abbf8cff8cf0765c41f8d49000bc467d642 (patch) | |
| tree | b38568a6cf835b1defad637f50229f861a2abaf2 | |
| parent | fe87063a187f65ce2dbc7b338cc88c1ee04049bd (diff) | |
| download | rust-0c3e0abbf8cff8cf0765c41f8d49000bc467d642.tar.gz rust-0c3e0abbf8cff8cf0765c41f8d49000bc467d642.zip | |
Fill-in tracking issue for `feature(cmp_minmax)`
| -rw-r--r-- | library/core/src/cmp.rs | 6 |
1 files 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<T, F: FnMut(&T) -> 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<T>(v1: T, v2: T) -> [T; 2] where T: Ord, @@ -1314,7 +1314,7 @@ where /// ``` #[inline] #[must_use] -#[unstable(feature = "cmp_minmax", issue = "none")] +#[unstable(feature = "cmp_minmax", issue = "115939")] pub fn minmax_by<T, F>(v1: T, v2: T, compare: F) -> [T; 2] where F: FnOnce(&T, &T) -> Ordering, @@ -1342,7 +1342,7 @@ where /// ``` #[inline] #[must_use] -#[unstable(feature = "cmp_minmax", issue = "none")] +#[unstable(feature = "cmp_minmax", issue = "115939")] pub fn minmax_by_key<T, F, K>(v1: T, v2: T, mut f: F) -> [T; 2] where F: FnMut(&T) -> K, |
