Update cmp.rs

This commit is contained in:
Corey Farwell 2019-01-06 15:18:22 -05:00 committed by GitHub
parent 319a2c1cc2
commit bbbabdfc52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,6 @@ use self::Ordering::*;
/// the same book if their ISBN matches, even if the formats differ:
///
/// ```
/// #[derive(PartialEq)]
/// enum BookFormat {
/// Paperback,
/// Hardback,
@ -97,6 +96,7 @@ use self::Ordering::*;
/// For example, let's tweak our previous code a bit:
///
/// ```
/// #[derive(PartialEq)]
/// enum BookFormat {
/// Paperback,
/// Hardback,