mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
demonstrate symmetry
This commit is contained in:
+1
-1
@@ -170,7 +170,7 @@
|
||||
/// let b2 = Book { isbn: 3, format: BookFormat::Ebook };
|
||||
///
|
||||
/// assert!(b1 == BookFormat::Paperback);
|
||||
/// assert!(b1 != BookFormat::Ebook);
|
||||
/// assert!(BookFormat::Ebook != b1);
|
||||
/// assert!(b1 == b2);
|
||||
/// ```
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user