Skip to content

Commit

Permalink
add missing derive to fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
frewsxcv committed Jan 6, 2019
1 parent 0d3dfdf commit 319a2c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libcore/cmp.rs
Expand Up @@ -65,6 +65,7 @@ use self::Ordering::*;
/// the same book if their ISBN matches, even if the formats differ:
///
/// ```
/// #[derive(PartialEq)]
/// enum BookFormat {
/// Paperback,
/// Hardback,
Expand Down

0 comments on commit 319a2c1

Please sign in to comment.