This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit ef2ef92
committed
Auto merge of rust-lang#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: rust-lang#644603 files changed
+4
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1059 | 1059 | | |
1060 | 1060 | | |
1061 | 1061 | | |
1062 | | - | |
1063 | | - | |
1064 | 1062 | | |
1065 | 1063 | | |
1066 | 1064 | | |
1067 | 1065 | | |
1068 | 1066 | | |
1069 | 1067 | | |
1070 | 1068 | | |
1071 | | - | |
| 1069 | + | |
1072 | 1070 | | |
1073 | 1071 | | |
1074 | 1072 | | |
| |||
1083 | 1081 | | |
1084 | 1082 | | |
1085 | 1083 | | |
1086 | | - | |
1087 | | - | |
1088 | 1084 | | |
1089 | 1085 | | |
1090 | 1086 | | |
1091 | 1087 | | |
1092 | 1088 | | |
1093 | 1089 | | |
1094 | 1090 | | |
1095 | | - | |
| 1091 | + | |
1096 | 1092 | | |
1097 | 1093 | | |
1098 | 1094 | | |
| |||
1125 | 1121 | | |
1126 | 1122 | | |
1127 | 1123 | | |
1128 | | - | |
1129 | | - | |
1130 | 1124 | | |
1131 | 1125 | | |
1132 | 1126 | | |
1133 | 1127 | | |
1134 | 1128 | | |
1135 | 1129 | | |
1136 | 1130 | | |
1137 | | - | |
| 1131 | + | |
1138 | 1132 | | |
1139 | 1133 | | |
1140 | 1134 | | |
| |||
1149 | 1143 | | |
1150 | 1144 | | |
1151 | 1145 | | |
1152 | | - | |
1153 | | - | |
1154 | 1146 | | |
1155 | 1147 | | |
1156 | 1148 | | |
1157 | 1149 | | |
1158 | 1150 | | |
1159 | 1151 | | |
1160 | 1152 | | |
1161 | | - | |
| 1153 | + | |
1162 | 1154 | | |
1163 | 1155 | | |
1164 | 1156 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
| |||
0 commit comments