Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
frewsxcv committed Jan 6, 2019
1 parent 96678df commit 0d3dfdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/cmp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
/// }
/// }
///
Expand Down

0 comments on commit 0d3dfdf

Please sign in to comment.