about summary refs log tree commit diff
path: root/library/core/src/cmp.rs
AgeCommit message (Expand)AuthorLines
2025-08-19Merge remote-tracking branch 'upstream/master'Michael Rieder-27/+35
2025-08-19Remove hs_abs_cmp examplesMichael Rieder-14/+0
2025-08-06tidyBoxy-4/+4
2025-07-20Rollup merge of #143423 - hkBst:clippy-fix-1, r=workingjubileeGuillaume Gomez-2/+3
2025-07-18clippy fix: bound in one placeMarijn Schouten-2/+3
2025-07-17Make slices `[const] PartialEq`Oli Scherer-1/+2
2025-07-11fix PartialEq const feature name and const_cmp tracking issueRalf Jung-6/+6
2025-07-03remove redundant #[must_use]Marijn Schouten-4/+0
2025-06-23Make `PartialEq` a `const_trait`Oli Scherer-9/+16
2025-06-16library/compiler: add `PointeeSized` boundsDavid Wood-16/+19
2025-05-05Fix parameter order for `_by()` variants of `min` / `max`/ `minmax` in `std::...Michael Rieder-3/+26
2025-04-12Extend the chaining logic to slices tooScott McMurray-0/+32
2025-03-25Override PartialOrd methods for boolDaniPopes-27/+23
2025-03-23Stop using specialization for thisScott McMurray-75/+87
2025-03-19Add chaining versions of lt/le/gt/ge and use them in tuple PartialOrdScott McMurray-0/+84
2025-03-16Rollup merge of #138082 - thaliaarchi:slice-cfg-not-test, r=thomcc许杰友 Jieyou Xu (Joe)-2/+2
2025-03-06Remove #[cfg(not(test))] gates in coreThalia Archibald-2/+2
2025-03-05Make `is_le` and friends work like clang'sScott McMurray-6/+16
2025-02-17Update some comparison tests now that they pass in LLVM20Scott McMurray-4/+4
2025-01-31implement all min/max fns in terms of `<`/`is_lt`Waffle Lapkin-15/+9
2025-01-31improve doc tests for (min/max/minmax).* functionsWaffle Lapkin-18/+128
2024-12-31Remove qualification of `std::cmp::Ordering` in `Ord` docMichael Sloan-1/+1
2024-12-23Revert "Auto merge of #130766 - clarfonthey:stable-coverage-attribute, r=wesl...Zalathar-1/+1
2024-12-16Stabilize #[coverage] attributeltdk-1/+1
2024-10-25library: consistently use American spelling for 'behavior'Ralf Jung-1/+1
2024-09-29Remove duplicate sectionLukas Bergdoll-13/+1
2024-09-27Apply review feedbackLukas Bergdoll-13/+16
2024-09-27Apply round 1 of review commentsLukas Bergdoll-16/+15
2024-09-27Fix mistake in exampleLukas Bergdoll-1/+1
2024-09-27Improve Ord docsLukas Bergdoll-95/+263
2024-09-17Remove uneeded PartialOrd bound in cmp::Ord::clampArthur Carcano-1/+0
2024-07-26Fix doc nitsJohn Arundel-10/+10
2024-06-21Remove `feature(effects)` from the standard libraryDeadbeef-3/+1
2024-05-23Make clamp inlineblyxyas-0/+1
2024-05-01Step bootstrap cfgsMark Rousskov-28/+10
2024-04-17Rollup merge of #122201 - coolreader18:doc-clone_from, r=dtolnayMatthias Krüger-2/+2
2024-04-10Revert "Put basic impls for f16 and f128 behind cfg(not(bootstrap))"Trevor Gross-8/+2
2024-04-03Auto merge of #123390 - tgross35:f16-f128-libs-basic-impls-bootstrap, r=jhprattbors-2/+8
2024-04-02Put basic impls for f16 and f128 behind cfg(not(bootstrap))Trevor Gross-2/+8
2024-04-02Auto merge of #118310 - scottmcm:three-way-compare, r=davidtwcobors-6/+24
2024-03-30Auto merge of #123085 - tgross35:f16-f128-step4.0-libs-basic-impls, r=Amanieubors-2/+2
2024-03-29Add diagnostic items for Ord and PartialOrd methodsUrgau-0/+7
2024-03-28Add basic trait impls for `f16` and `f128`Trevor Gross-2/+2
2024-03-24Address PR feedbackScott McMurray-0/+3
2024-03-24Slightly simplify the `iN::partial_cmp` MIRScott McMurray-7/+14
2024-03-23Add+Use `mir::BinOp::Cmp`Scott McMurray-0/+8
2024-03-08Document overrides of `clone_from()`Noa-2/+2
2024-02-05Rollup merge of #115386 - RalfJung:partial-eq-chain, r=dtolnayMatthias Krüger-8/+52
2024-02-02fix typoRalf Jung-2/+2
2024-01-22Rollup merge of #118714 - The-Ludwig:explain_ord_derive_enum_field, r=NilstriebMatthias Krüger-2/+4