about summary refs log tree commit diff
path: root/library/core/src/cmp.rs
AgeCommit message (Expand)AuthorLines
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-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
2022-08-01Don't derive `PartialEq::ne`.Nicholas Nethercote-3/+6
2022-07-26Add `Self: ~const Trait` to traits with `#[const_trait]`Deadbeef-2/+3
2022-07-24add const hack commentDeadbeef-0/+6
2022-07-24Add issue numbersDeadbeef-17/+17
2022-07-24Constify a few const `(Partial)Ord` implsDeadbeef-19/+49
2022-07-01update cfg(bootstrap)sPietro Albini-7/+2
2022-06-12Rollup merge of #97950 - eggyal:issue-97945, r=Dylan-DPCMichael Goulet-2/+2
2022-06-11Update cmp.rsWarrenren-1/+1
2022-06-10Clarify `#[derive(PartialEq)]` on enumsAlan Egerton-2/+2