about summary refs log tree commit diff
path: root/library/core/src/cmp.rs
AgeCommit message (Expand)AuthorLines
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
2023-04-20Rollup merge of #110448 - ripytide:master, r=cuviperYuki Okushi-45/+46
2023-04-17cmp doc examples consistency improvementsripytide-45/+46
2023-04-16core is now compilableDeadbeef-18/+6
2023-04-16rm const traits in libcoreDeadbeef-65/+29
2023-04-04Add links from `core::cmp` derives to their traitsclubby789-4/+7
2023-03-01Merge two different equality specialization traits in `core`Scott McMurray-0/+3
2023-02-15Constify `RangeBounds`, `RangeX::contains` and `RangeX::is_empty`.onestacked-2/+3
2023-02-03Replace `ConstFnMutClosure` with const closuresDeadbeef-12/+1
2023-01-30stage-step cfgsMark Rousskov-37/+3
2023-01-12test use in libcoreDeadbeef-10/+16
2022-12-30Auto merge of #106210 - fee1-dead-contrib:const-closure-trait-method, r=compi...bors-6/+12
2022-12-28Update bootstrap cfgPietro Albini-37/+1
2022-12-28Allow trait method paths to satisfy const Fn boundsDeadbeef-6/+12
2022-11-25PERs are homogeneousRalf Jung-2/+3
2022-11-12Use `derive_const` and rm manual StructuralEq implDeadbeef-0/+6
2022-09-24Constify cmp_min_max_byonestacked-6/+49
2022-09-16append_const_msg for std traitsDeadbeef-28/+8
2022-09-14Constify `PartialEq` for Ordering.raldone01-1/+14
2022-08-20Improve primitive/std docs separation and headersCameron Steffen-2/+2
2022-08-18Auto merge of #98655 - nnethercote:dont-derive-PartialEq-ne, r=dtolnaybors-3/+6
2022-08-14Update the minimum external LLVM to 13Josh Stone-5/+1