There was an error while loading. Please reload this page.
1 parent 4480caf commit 1b71633Copy full SHA for 1b71633
src/libcore/cmp.rs
@@ -209,6 +209,7 @@ pub trait PartialOrd: PartialEq {
209
fn partial_cmp(&self, other: &Self) -> Option<Ordering>;
210
211
/// This method tests less than (for `self` and `other`) and is used by the `<` operator.
212
+ #[inline]
213
fn lt(&self, other: &Self) -> bool {
214
match self.partial_cmp(other) {
215
Some(Less) => true,
0 commit comments