about summary refs log tree commit diff
path: root/src/libcore/cmp.rs
AgeCommit message (Expand)AuthorLines
2020-04-29Fix doc link to Eq trait from PartialEq traitNicholas Bishop-0/+1
2020-04-16Dogfood or_patterns in the standard libraryJosh Stone-2/+2
2020-04-03Replace float module consts with assoc consts in documentationLinus Färnstrand-1/+1
2020-02-08Mark several functions and methods in core::cmp as #[must_use]Michael Bradshaw-0/+13
2020-01-30Add missing links for cmp traitsGuillaume Gomez-20/+31
2020-01-08Use matches macro in libcore and libstdIgor Aleksanov-16/+4
2019-12-30Less-than is asymmetric, not antisymmetricJP Sugarbroad-2/+2
2019-12-22Format the worldMark Rousskov-50/+140
2019-12-21Require issue = "none" over issue = "0" in unstable attributesRoss MacArthur-1/+1
2019-12-14Revert "Stabilize the `never_type`, written `!`."Niko Matsakis-4/+4
2019-12-11Rollup merge of #66881 - krishna-veerareddy:issue-66780-bool-ord-optimization...Mazdak Farrokhzad-1/+11
2019-12-10Add better documentation for unsafe blockKrishna Sai Veera Reddy-1/+1
2019-12-02Document usage of unsafe blockKrishna Sai Veera Reddy-0/+1
2019-12-01Remove ord lang itemcad97-1/+0
2019-11-29Optimize Ord trait implementation for boolKrishna Sai Veera Reddy-1/+10
2019-11-26follow the same function order in the traitGuanqun Lu-6/+6
2019-11-22Rollup merge of #66566 - robamler:issue-66476, r=rkruppeMazdak Farrokhzad-14/+18
2019-11-21Document pitfall with `impl PartialEq<B> for A`Robert Bamler-14/+18
2019-11-21Stabilize the `never_type`, written `!`.Mazdak Farrokhzad-4/+4
2019-10-25Migrate from `#[structural_match]` attribute a lang-item trait.Felix S. Klock II-2/+2
2019-09-25Snap cfgs to new betaMark Rousskov-4/+0
2019-09-23Move `--cfg bootstrap` out of `rustc.rs`Alex Crichton-4/+4
2019-09-14Add cmp::{min_by, min_by_key, max_by, max_by_key}Tim Vermeulen-2/+88
2019-09-04Fix doc links in `std::cmp` moduleLzu Tao-6/+14
2019-08-29Small improvement for Ord implementation of integersLzu Tao-2/+2
2019-08-21Add comment to avoid accidentally remove the changes.Lzu Tao-0/+2
2019-08-21Use more optimal Ord implementation for integersLzu Tao-3/+3
2019-08-17Make built-in derives opaque macrosMatthew Jasper-4/+4
2019-08-14Handle cfg(bootstrap) throughoutMark Rousskov-4/+0
2019-08-10Give built-in macros stable addresses in the standard libraryVadim Petrochenkov-0/+32
2019-07-26Remove redundant `mut` from variable declaration.Tomasz Różański-1/+1
2019-04-18libcore => 2018Taiki Endo-2/+2
2019-04-09Remove strange formatting in `Ordering` docs.Eric Huss-3/+3
2019-03-25Clarify `{Ord,f32,f64}::clamp` docs a littleTobias Bucher-4/+9
2019-03-18Replaced self-reflective explicit types with clearer `Self` or `Self::…` in...Vincent Esche-7/+7
2019-03-15Auto merge of #58710 - EdorianDark:master, r=sfacklerbors-0/+26
2019-03-09Use lifetime contravariance to elide more lifetimes in core+alloc+stdScott McMurray-24/+24
2019-03-09Revert "Revert "Add clamp functions""Dirk Leifeld-0/+26
2019-02-10tests: doc commentsAlexander Regueiro-1/+1
2019-01-18Rollup merge of #57357 - frewsxcv:frewsxcv-partial-eq, r=QuietMisdreavusMazdak Farrokhzad-16/+22
2019-01-15demonstrate symmetryCorey Farwell-1/+1
2019-01-12whitespaceCorey Farwell-6/+6
2019-01-12bring back the example i removed, also add symmetry and simplify implCorey Farwell-0/+42
2019-01-12add comment explaining what the derive doesCorey Farwell-0/+1
2019-01-11re-do docs for core::cmpSteve Klabnik-20/+15
2019-01-06Update cmp.rsCorey Farwell-1/+1
2019-01-06add missing derive to fix compile errorCorey Farwell-0/+1
2019-01-05Fix compile errorCorey Farwell-1/+1
2019-01-05Cleanup PartialEq docs.Corey Farwell-47/+9
2018-12-29Specify criterion for PartialOrdCzipperz-2/+3