mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
+1
-1
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user