diff options
| author | Corey Farwell <coreyf@rwell.org> | 2019-01-12 11:00:14 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-12 11:00:14 -0500 |
| commit | 423a5bb5c437c2ce81d4150490d0cccfdbc33a4c (patch) | |
| tree | 394d2ee6a360e69fccc6460dc6e359c42c8b7311 /src/libcore | |
| parent | bbbabdfc52eaa897c965bf10f50af4fc1512d4f0 (diff) | |
| download | rust-423a5bb5c437c2ce81d4150490d0cccfdbc33a4c.tar.gz rust-423a5bb5c437c2ce81d4150490d0cccfdbc33a4c.zip | |
add comment explaining what the derive does
Diffstat (limited to 'src/libcore')
| -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 64e37ec5a56..72ff9cca9fd 100644 --- a/src/libcore/cmp.rs +++ b/src/libcore/cmp.rs @@ -96,6 +96,7 @@ use self::Ordering::*; /// For example, let's tweak our previous code a bit: /// /// ``` +/// // The derive implements <BookFormat> == <BookFormat> comparisons /// #[derive(PartialEq)] /// enum BookFormat { /// Paperback, |
