about summary refs log tree commit diff
path: root/library/core/src/cmp.rs
AgeCommit message (Expand)AuthorLines
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
2023-12-26explain what crates should do when adding comparison with foreign typesRalf Jung-0/+38
2023-12-26PartialOrd: transitivity and duality are required only if the corresponding i...Ralf Jung-6/+10
2023-12-26PartialEq: handle longer transitive chainsRalf Jung-2/+4
2023-12-22update cfg(bootstrap)sPietro Albini-13/+3
2023-12-11Auto merge of #117758 - Urgau:lint_pointer_trait_comparisons, r=davidtwcobors-0/+2
2023-12-10Restore `const PartialEq`Deadbeef-0/+12
2023-12-07Introduce explanation about fields being used in orderingLudwig Neste-2/+4
2023-12-02Add diagnostic item to PartialEq::{eq,ne}Urgau-0/+2
2023-11-01fixes: typo in `std::cmp::Ord` trait docsmassivebird-1/+1
2023-10-14Auto merge of #116407 - Mark-Simulacrum:bootstrap-bump, r=onur-ozkanbors-4/+2
2023-10-08Bump to latest betaMark Rousskov-4/+2