Skip to content

Commit

Permalink
demonstrate symmetry
Browse files Browse the repository at this point in the history
  • Loading branch information
frewsxcv committed Jan 16, 2019
1 parent 0394dce commit 32b2834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/cmp.rs
Expand Up @@ -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);
/// ```
///
Expand Down

0 comments on commit 32b2834

Please sign in to comment.