@@ -464,9 +464,9 @@ impl<T: PartialOrd> PartialOrd for Reverse<T> {
464
464
#[ inline]
465
465
fn le ( & self , other : & Self ) -> bool { other. 0 <= self . 0 }
466
466
#[ inline]
467
- fn ge ( & self , other : & Self ) -> bool { other. 0 >= self . 0 }
468
- #[ inline]
469
467
fn gt ( & self , other : & Self ) -> bool { other. 0 > self . 0 }
468
+ #[ inline]
469
+ fn ge ( & self , other : & Self ) -> bool { other. 0 >= self . 0 }
470
470
}
471
471
472
472
#[ stable( feature = "reverse_cmp_key" , since = "1.19.0" ) ]
@@ -1176,9 +1176,9 @@ mod impls {
1176
1176
#[ inline]
1177
1177
fn le ( & self , other : & & B ) -> bool { PartialOrd :: le ( * self , * other) }
1178
1178
#[ inline]
1179
- fn ge ( & self , other : & & B ) -> bool { PartialOrd :: ge ( * self , * other) }
1180
- #[ inline]
1181
1179
fn gt ( & self , other : & & B ) -> bool { PartialOrd :: gt ( * self , * other) }
1180
+ #[ inline]
1181
+ fn ge ( & self , other : & & B ) -> bool { PartialOrd :: ge ( * self , * other) }
1182
1182
}
1183
1183
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1184
1184
impl < A : ?Sized > Ord for & A where A : Ord {
@@ -1208,9 +1208,9 @@ mod impls {
1208
1208
#[ inline]
1209
1209
fn le ( & self , other : & & mut B ) -> bool { PartialOrd :: le ( * self , * other) }
1210
1210
#[ inline]
1211
- fn ge ( & self , other : & & mut B ) -> bool { PartialOrd :: ge ( * self , * other) }
1212
- #[ inline]
1213
1211
fn gt ( & self , other : & & mut B ) -> bool { PartialOrd :: gt ( * self , * other) }
1212
+ #[ inline]
1213
+ fn ge ( & self , other : & & mut B ) -> bool { PartialOrd :: ge ( * self , * other) }
1214
1214
}
1215
1215
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1216
1216
impl < A : ?Sized > Ord for & mut A where A : Ord {
0 commit comments