Closed

Description
pub trait PartialOrd: PartialEq {
/// This method returns an ordering between `self` and `other` values
/// if one exists.
fn partial_cmp(&self, other: &Self) -> Option<Ordering>;
/// This method tests less than (for `self` and `other`) and is used by the `<` operator.
fn lt(&self, other: &Self) -> bool { ... }
/// This method tests less than or equal to (`<=`).
#[inline]
fn le(&self, other: &Self) -> bool { ... }
/// This method tests greater than (`>`).
#[inline]
fn gt(&self, other: &Self) -> bool { ... }
/// This method tests greater than or equal to (`>=`).
#[inline]
fn ge(&self, other: &Self) -> bool { ... }
}
Shouldn't the lt
method also be inline?