summary refs log tree commit diff
path: root/library/core/src/cmp.rs
AgeCommit message (Expand)AuthorLines
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
2023-10-05Add more diagnostic items for clippyJason Newcomb-0/+1
2023-10-05docs: Correct terminology in std::cmpJan Behrens-17/+50
2023-09-28Rollup merge of #115888 - RalfJung:assert_receiver_is_total_eq, r=dtolnayMatthias Krüger-3/+3
2023-09-18Rollup merge of #109409 - WaffleLapkin:progamer, r=dtolnayMatthias Krüger-0/+85
2023-09-18Fill-in tracking issue for `feature(cmp_minmax)`Maybe Waffle-3/+3
2023-09-18Add `minmax*` functions to `core::cmp`Maybe Waffle-0/+85
2023-09-16Rollup merge of #115607 - RalfJung:safe-traits-unsafe-code, r=dtolnayMatthias Krüger-0/+20
2023-09-16fix a comment about assert_receiver_is_total_eqRalf Jung-3/+3
2023-09-08Rename the feature, but not the attribute, to `coverage_attribute`Andy Caldwell-1/+1
2023-09-08Rework no_coverage to coverage(off)Andy Caldwell-2/+5
2023-09-06clarify that unsafe code must not rely on our safe traitsRalf Jung-0/+20
2023-08-10Optimized implementations of max, min, and clamp for booldanflapjax-0/+16
2023-05-07Add `#[inline]` to functions that are never calledGary Guo-0/+3
2023-04-27`inline(always)` for `lt`/`le`/`ge`/`gt` on integers and floatsScott McMurray-8/+8