Skip to content

Commit 0d3dfdf

Browse files
authored
Fix compile error
1 parent 96678df commit 0d3dfdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/cmp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ use self::Ordering::*;
117117
/// // Implement <BookFormat> == <Book> comparisons
118118
/// impl PartialEq<Book> for BookFormat {
119119
/// fn eq(&self, other: &Book) -> bool {
120-
/// *other == self.format
120+
/// *self == other.format
121121
/// }
122122
/// }
123123
///

0 commit comments

Comments
 (0)