We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 319a2c1 commit bbbabdfCopy full SHA for bbbabdf
src/libcore/cmp.rs
@@ -65,7 +65,6 @@ use self::Ordering::*;
65
/// the same book if their ISBN matches, even if the formats differ:
66
///
67
/// ```
68
-/// #[derive(PartialEq)]
69
/// enum BookFormat {
70
/// Paperback,
71
/// Hardback,
@@ -97,6 +96,7 @@ use self::Ordering::*;
97
96
/// For example, let's tweak our previous code a bit:
98
99
+/// #[derive(PartialEq)]
100
101
102
0 commit comments