Fix compile error

This commit is contained in:
Corey Farwell 2019-01-05 22:52:13 -05:00 committed by GitHub
parent 96678df838
commit 0d3dfdf6aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -117,7 +117,7 @@ use self::Ordering::*;
/// // Implement <BookFormat> == <Book> comparisons
/// impl PartialEq<Book> for BookFormat {
/// fn eq(&self, other: &Book) -> bool {
/// *other == self.format
/// *self == other.format
/// }
/// }
///