Skip to content

Commit bbbabdf

Browse files
authored
Update cmp.rs
1 parent 319a2c1 commit bbbabdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/cmp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ use self::Ordering::*;
6565
/// the same book if their ISBN matches, even if the formats differ:
6666
///
6767
/// ```
68-
/// #[derive(PartialEq)]
6968
/// enum BookFormat {
7069
/// Paperback,
7170
/// Hardback,
@@ -97,6 +96,7 @@ use self::Ordering::*;
9796
/// For example, let's tweak our previous code a bit:
9897
///
9998
/// ```
99+
/// #[derive(PartialEq)]
100100
/// enum BookFormat {
101101
/// Paperback,
102102
/// Hardback,

0 commit comments

Comments
 (0)