Skip to content

Commit

Permalink
Fill-in tracking issue for feature(cmp_minmax)
Browse files Browse the repository at this point in the history
  • Loading branch information
WaffleLapkin committed Sep 18, 2023
1 parent fe87063 commit 0c3e0ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions library/core/src/cmp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 0c3e0ab

Please sign in to comment.