1
Fork 0

add comment explaining what the derive does

This commit is contained in:
Corey Farwell 2019-01-12 11:00:14 -05:00 committed by GitHub
parent bbbabdfc52
commit 423a5bb5c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,