mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 03:38:29 +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:
|
/// the same book if their ISBN matches, even if the formats differ:
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// #[derive(PartialEq)]
|
|
||||||
/// enum BookFormat {
|
/// enum BookFormat {
|
||||||
/// Paperback,
|
/// Paperback,
|
||||||
/// Hardback,
|
/// Hardback,
|
||||||
@ -97,6 +96,7 @@ use self::Ordering::*;
|
|||||||
/// For example, let's tweak our previous code a bit:
|
/// For example, let's tweak our previous code a bit:
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
|
/// #[derive(PartialEq)]
|
||||||
/// enum BookFormat {
|
/// enum BookFormat {
|
||||||
/// Paperback,
|
/// Paperback,
|
||||||
/// Hardback,
|
/// Hardback,
|
||||||
|
Loading…
Reference in New Issue
Block a user