demonstrate symmetry
This commit is contained in:
parent
0394dce788
commit
32b28340b2
@ -170,7 +170,7 @@ use self::Ordering::*;
|
||||
/// let b2 = Book { isbn: 3, format: BookFormat::Ebook };
|
||||
///
|
||||
/// assert!(b1 == BookFormat::Paperback);
|
||||
/// assert!(b1 != BookFormat::Ebook);
|
||||
/// assert!(BookFormat::Ebook != b1);
|
||||
/// assert!(b1 == b2);
|
||||
/// ```
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user