mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
parent
734c83642c
commit
dcd7c5f4e8
@ -343,7 +343,7 @@ impl 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