diff options
| author | Corey Farwell <coreyf@rwell.org> | 2019-01-15 21:21:24 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-15 21:21:24 -0500 |
| commit | 32b28340b20ea8b45d3e663dc81bb9092ecdeeb1 (patch) | |
| tree | 6b12a492505952c70bb56f95748a9ec5329e8fb7 | |
| parent | 0394dce7884562651906a84e3a32dc8ad2a50ac8 (diff) | |
| download | rust-32b28340b20ea8b45d3e663dc81bb9092ecdeeb1.tar.gz rust-32b28340b20ea8b45d3e663dc81bb9092ecdeeb1.zip | |
demonstrate symmetry
| -rw-r--r-- | src/libcore/cmp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/cmp.rs b/src/libcore/cmp.rs index 65792607a28..a2f719cf406 100644 --- a/src/libcore/cmp.rs +++ b/src/libcore/cmp.rs @@ -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); /// ``` /// |
