diff options
| author | Corey Farwell <coreyf@rwell.org> | 2019-01-06 11:08:34 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-06 11:08:34 -0500 |
| commit | 319a2c1cc2a4d99d5b1d6fb424c77963fd668f24 (patch) | |
| tree | ed11dab1fce64f7f0069a1cce4e6a08de1b6ea66 | |
| parent | 0d3dfdf6aadd7dd241956fa234bdd01de7291e5f (diff) | |
| download | rust-319a2c1cc2a4d99d5b1d6fb424c77963fd668f24.tar.gz rust-319a2c1cc2a4d99d5b1d6fb424c77963fd668f24.zip | |
add missing derive to fix compile error
| -rw-r--r-- | src/libcore/cmp.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/cmp.rs b/src/libcore/cmp.rs index 89afe7057b1..5b78aa632d1 100644 --- a/src/libcore/cmp.rs +++ b/src/libcore/cmp.rs @@ -65,6 +65,7 @@ use self::Ordering::*; /// the same book if their ISBN matches, even if the formats differ: /// /// ``` +/// #[derive(PartialEq)] /// enum BookFormat { /// Paperback, /// Hardback, |
