parent
734c83642c
commit
dcd7c5f4e8
@ -343,7 +343,7 @@ pub fn then_with<F: FnOnce() -> Ordering>(self, f: F) -> Ordering {
|
||||
/// ```
|
||||
#[derive(PartialEq, Eq, Debug)]
|
||||
#[stable(feature = "reverse_cmp_key", since = "1.19.0")]
|
||||
pub struct Reverse<T>(pub T);
|
||||
pub struct Reverse<T>(#[stable(feature = "reverse_cmp_key", since = "1.19.0")] pub T);
|
||||
|
||||
#[stable(feature = "reverse_cmp_key", since = "1.19.0")]
|
||||
impl<T: PartialOrd> PartialOrd for Reverse<T> {
|
||||
|
Loading…
Reference in New Issue
Block a user