add comment explaining what the derive does
This commit is contained in:
parent
bbbabdfc52
commit
423a5bb5c4
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue