We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents edbfbbf + dcd7c5f commit f80e58aCopy full SHA for f80e58a
src/libcore/cmp.rs
@@ -343,7 +343,7 @@ impl Ordering {
343
/// ```
344
#[derive(PartialEq, Eq, Debug)]
345
#[stable(feature = "reverse_cmp_key", since = "1.19.0")]
346
-pub struct Reverse<T>(pub T);
+pub struct Reverse<T>(#[stable(feature = "reverse_cmp_key", since = "1.19.0")] pub T);
347
348
349
impl<T: PartialOrd> PartialOrd for Reverse<T> {
0 commit comments