about summary refs log tree commit diff
path: root/library/core/src/cmp.rs
AgeCommit message (Expand)AuthorLines
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
2022-06-10line 1352, change self to (*self), other to (*other)Warrenren-1/+1
2022-05-30Remove `#[default..]` and add `#[const_trait]`Deadbeef-5/+7
2022-03-16Derive Eq for std::cmp::Ordering, instead of using manual impl.Zachary S-4/+1
2022-03-04Edit docs on consistency of `PartialOrd` and `PartialEq`pierwill-13/+12
2022-01-28Edit docs introduction for `std::cmp::PartialOrd`pierwill-1/+1
2022-01-26Add a minimal working `append_const_msg` argumentDeadbeef-6/+28
2022-01-15Touch up stray comment in PR 92953David Tolnay-2/+2
2022-01-15Clear up discriminants with more examplesAriel Davis-18/+52
2022-01-15Copy an example to PartialOrd as wellAriel Davis-3/+15
2021-12-16Mark defaulted `PartialEq`/`PartialOrd` methods as constDylan MacKenzie-0/+5
2021-10-03Add `#[repr(i8)]` to `Ordering`Ryan Lopopolo-0/+1
2021-09-06Suggest deriving traits if possiblePaul Trojahn-0/+4
2021-08-20Add an example for deriving PartialOrd on enumsAriel Davis-0/+12
2021-07-15Added diagnostic items to functions for ClippyxFrednet-0/+2
2021-06-25Fix a few misspellings.Eric Huss-1/+1
2021-06-21Rollup merge of #85637 - RalfJung:partial-ord, r=m-ou-seYuki Okushi-25/+64
2021-06-15wordingRalf Jung-1/+1
2021-05-27make Ord doc style consistent with the other two; explain which properties ar...Ralf Jung-17/+26
2021-05-24document PartialEq, PartialOrd, Ord requirements more explicitlyRalf Jung-23/+53
2021-05-24remove cfg(bootstrap)Pietro Albini-1/+1
2021-05-11Override `clone_from` for some typesBenoƮt du Garreau-1/+14
2021-05-05Disallows `#![feature(no_coverage)]` on stable and betaRich Kadel-3/+2
2021-04-27adds feature gating of `no_coverage` at either crate- or function-levelRich Kadel-0/+1
2021-04-27Derived Eq no longer shows uncoveredRich Kadel-0/+1
2021-04-24Stabilize ordering_helpers.Mara Bos-12/+12
2021-04-10Add note about reverting a workaround in the futureLingMan-0/+3
2021-04-07Auto merge of #81047 - glittershark:stabilize-cmp-min-max-by, r=kodrausbors-12/+4
2021-04-07Stabilize cmp_min_max_byGriffin Smith-12/+4
2021-04-04Optimize PartialOrd leAngelicosPhosphoros-1/+2
2021-02-08Added #[repr(transparent)] to core::cmp::ReverseJad Ghalayini-0/+1
2021-01-19Remove requirement that forces symmetric and transitive PartialEq impls to existDavid Tolnay-6/+10
2021-01-17Update cmp.rsMarvin Huber-1/+1
2021-01-09fix broken link in PartialEq docEric Seppanen-1/+1