mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Update cmp.rs
This commit is contained in:
parent
319a2c1cc2
commit
bbbabdfc52
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user