Remove ord lang item
This commit is contained in:
parent
4007d4ef26
commit
ac57e1b647
|
@ -534,7 +534,6 @@ impl<T: Ord> Ord for Reverse<T> {
|
|||
/// }
|
||||
/// }
|
||||
/// ```
|
||||
#[lang = "ord"]
|
||||
#[doc(alias = "<")]
|
||||
#[doc(alias = ">")]
|
||||
#[doc(alias = "<=")]
|
||||
|
|
|
@ -358,7 +358,6 @@ language_item_table! {
|
|||
// Don't be fooled by the naming here: this lang item denotes `PartialEq`, not `Eq`.
|
||||
EqTraitLangItem, "eq", eq_trait, Target::Trait;
|
||||
PartialOrdTraitLangItem, "partial_ord", partial_ord_trait, Target::Trait;
|
||||
OrdTraitLangItem, "ord", ord_trait, Target::Trait;
|
||||
|
||||
// A number of panic-related lang items. The `panic` item corresponds to
|
||||
// divide-by-zero and various panic cases with `match`. The
|
||||
|
|
Loading…
Reference in New Issue