Skip to content

Commit 9149992

Browse files
committed
Add some newlines in some code examples
1 parent 497cbb6 commit 9149992

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libcore/cmp.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ use option::Option::{self, Some};
7676
/// isbn: i32,
7777
/// format: BookFormat,
7878
/// }
79+
///
7980
/// impl PartialEq for Book {
8081
/// fn eq(&self, other: &Self) -> bool {
8182
/// self.isbn == other.isbn
@@ -262,6 +263,7 @@ impl Ordering {
262263
///
263264
/// ```
264265
/// use std::cmp::Ordering;
266+
///
265267
/// #[derive(Eq)]
266268
/// struct Person {
267269
/// id: u32,

0 commit comments

Comments
 (0)