add comment explaining what the derive does
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user