We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e99dd20 + 1b71633 commit 18062c1Copy full SHA for 18062c1
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