]> git.lizzy.rs Git - rust.git/commit
Auto merge of #81047 - glittershark:stabilize-cmp-min-max-by, r=kodraus
authorbors <bors@rust-lang.org>
Wed, 7 Apr 2021 18:02:21 +0000 (18:02 +0000)
committerbors <bors@rust-lang.org>
Wed, 7 Apr 2021 18:02:21 +0000 (18:02 +0000)
commitef2ef926a53baaa9d7a1b73b516d399af7e9aedb
tree02ed47214524ab5cb0f93173194ebaf3b416bd68
parente9cdcccfa8321363999a43ee30a18b3aadbc20de
parent462f86da9ac5e6c129ea75226767bb08a6eb84d2
Auto merge of #81047 - glittershark:stabilize-cmp-min-max-by, r=kodraus

Stabilize cmp_min_max_by

I would like to propose cmp::{min_by, min_by_key, max_by, max_by_key}
for stabilization.

These are relatively simple and seemingly uncontroversial functions and
have been unchanged in unstable for a while now.

Closes: #64460
compiler/rustc_middle/src/lib.rs
library/core/src/cmp.rs
library/core/tests/lib.rs