Skip to content

Commit 319a2c1

Browse files
authored
add missing derive to fix compile error
1 parent 0d3dfdf commit 319a2c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcore/cmp.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ use self::Ordering::*;
6565
/// the same book if their ISBN matches, even if the formats differ:
6666
///
6767
/// ```
68+
/// #[derive(PartialEq)]
6869
/// enum BookFormat {
6970
/// Paperback,
7071
/// Hardback,

0 commit comments

Comments
 (0)